Click or drag to resize
AB4D logo

BaseCameraGetCameraMatrices(Viewport3D, Matrix3D, Matrix3D) Method

GetCameraMatrices gets view and projection matrix of the camera used by the specified viewport3D.

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

Parameters

viewport3D  Viewport3D
viewport3D
viewMatrix  Matrix3D
view Matrix
projectionMatrix  Matrix3D
projection Matrix

Return Value

Boolean
false when the camera matrixes cannot be calculated
See Also