Click or drag to resize
AB4D logo

BaseCameraGetCameraMatrixes Method (Viewport3D, Matrix3D, Matrix3D)

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

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

Parameters

viewport3D
Type: System.Windows.ControlsViewport3D
viewport3D
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