Click or drag to resize
AB4D logo

BaseCameraGetCameraMatrices Method (Matrix3D, Matrix3D)

GetCameraMatrices gets view and projection matrix of the current camera.

Namespace:  Ab3d.Cameras
Assembly:  Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 10.1.8147.1045
Syntax
C#
public bool GetCameraMatrices(
	out Matrix3D viewMatrix,
	out Matrix3D projectionMatrix
)

Parameters

viewMatrix
Type: System.Windows.Media.Media3DMatrix3D
view Matrix
projectionMatrix
Type: System.Windows.Media.Media3DMatrix3D
projection Matrix

Return Value

Type: Boolean
false when the camera matrixes cannot be calculated
See Also