Click or drag to resize
SoOffscreenRendererSetRegion Method

Sets a subregion of the viewport to be rendered.

Namespace: OIV.Inventor
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax
public void SetRegion(
	SbVec2s origin,
	SbVec2s size
)

Parameters

origin
Type: OIV.InventorSbVec2s
size
Type: OIV.InventorSbVec2s
Remarks

Units are pixels. For regions greater thatn 32767, use the setRegion_i32 method. The origin is relative to the lower left corner. Only this region will be rendered, returned by getBuffer, or written to a file.

See Also