Click or drag to resize
SbViewportRegionSetViewportPixels Method (SbVec2s, SbVec2s)
Sets viewport to region with given origin (lower-left corner) and size, given as pixel coordinates.

Namespace: OIV.Inventor
Assembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2024.2.2.Release.778f4cc64de03c89c1282c66aa1f73c0e9a1408b
Syntax
public void SetViewportPixels(
	ref SbVec2s origin,
	ref SbVec2s size
)

Parameters

origin
Type: OIV.InventorSbVec2s
Origin of viewport.
size
Type: OIV.InventorSbVec2s
Pixel's size of viewport.
See Also