SoViewportRegionElementSet Method (SoState, SbViewportRegion, Boolean) |
Sets the viewport region.
Namespace: OIV.Inventor.ElementsAssembly: 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
)
Public Shared Sub Set (
state As SoState,
vpReg As SbViewportRegion,
sendToGL As Boolean
)
public:
static void Set(
SoState^ state,
SbViewportRegion vpReg,
bool sendToGL
)
static member Set :
state : SoState *
vpReg : SbViewportRegion *
sendToGL : bool -> unit
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