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: 9.9.36.0.Release.d5e5954f18f5fba1171104a1eb3d2f8b0fc0d084
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