Click or drag to resize
SbViewVolumeGetMatrices Method
Returns two matrices corresponding to the view volume.

Namespace: OIV.Inventor
Assembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2024.2.2.Release.778f4cc64de03c89c1282c66aa1f73c0e9a1408b
Syntax
public float GetMatrices(
	out SbMatrix affine,
	out SbMatrix proj
)

Parameters

affine
Type: OIV.InventorSbMatrix
Viewing matrix.
proj
Type: OIV.InventorSbMatrix
Projection matrix.

Return Value

Type: Single
Camera stereo offset.
Remarks
The first is a viewing matrix, which is guaranteed to be an affine transformation. The second is suitable for use as a projection matrix in OpenGL. The return value is the stereo offset for a camera.
See Also