| SoViewingMatrixElementSet Method (SoState, SoNode, SbMatrix, Boolean) | 
Sets the view matrix to the given matrix. 
 
Namespace: OIV.Inventor.ElementsAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2025.2.0.0 (10.18.0.0)
Syntaxpublic static void Set(
	SoState state,
	SoNode node,
	SbMatrix matrix,
	bool sendToGL
)
Public Shared Sub Set ( 
	state As SoState,
	node As SoNode,
	matrix As SbMatrix,
	sendToGL As Boolean
)
public:
static void Set(
	SoState^ state, 
	SoNode^ node, 
	SbMatrix matrix, 
	bool sendToGL
)
static member Set : 
        state : SoState * 
        node : SoNode * 
        matrix : SbMatrix * 
        sendToGL : bool -> unit 
Parameters
- state
 - Type: OIV.Inventor.MiscSoState
 - node
 - Type: OIV.Inventor.NodesSoNode
 - matrix
 - Type: OIV.InventorSbMatrix
 - sendToGL
 - Type: SystemBoolean
 
RemarksThis method will (indirectly) call glLoadMatrix with the new matrix unless the 'sendToGL' parameter is explicitly false. 
See Also