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.1.1.Release.7989217834dd2b99155f267b6c8c70f9feacdedd
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