Click or drag to resize
SoViewportRegionElementSet Method (SoState, SbViewportRegion, Boolean)

Sets the viewport region.

Namespace: OIV.Inventor.Elements
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public static void Set(
	SoState state,
	SbViewportRegion vpReg,
	bool sendToGL
)

Parameters

state
Type: OIV.Inventor.MiscSoState
vpReg
Type: OIV.InventorSbViewportRegion
sendToGL
Type: SystemBoolean
Remarks

This method will (indirectly) call glViewport with the new values unless the 'sendToGL' parameter is explicitly false.

See Also