|
BaseCameraGetCameraMatrixes(Camera, Double, Matrix3D, Matrix3D) Method |
GetCameraMatrixes gets view and projection matrix of specified camera and specified viewport's aspect ratio.
Namespace: Ab3d.CamerasAssembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.2.9104.2045
Syntax public static bool GetCameraMatrixes(
Camera camera,
double viewportAspectRatio,
out Matrix3D viewMatrix,
out Matrix3D projectionMatrix
)
Parameters
- camera Camera
- camera
- viewportAspectRatio Double
- aspect ratio of viewport: width / height
- viewMatrix Matrix3D
- view Matrix
- projectionMatrix Matrix3D
- projection Matrix
Return Value
Booleanfalse when the camera matrixes cannot be calculated
See Also