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: 2023.1.3.0 (2023.1.3)
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