 |
WpfCameraGetProjectionMatrix Method |
GetProjectionMatrix returns projection Matrix for the specified camera's properties
Namespace: Ab3d.DirectX.CamerasAssembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.1.9105.2048
Syntaxpublic static Matrix GetProjectionMatrix(
Camera wpfCamera,
float aspectRatio,
float zNear,
float zFar,
bool isHorizontalFieldOfView,
bool isUsingRightHandedCoordinateSystem
)
Parameters
- wpfCamera Camera
- WPF camera
- aspectRatio Single
- aspect ratio
- zNear Single
- zNear
- zFar Single
- zFar
- isHorizontalFieldOfView Boolean
- isHorizontalFieldOfView
- isUsingRightHandedCoordinateSystem Boolean
- true if using right handed coordinate system
Return Value
Matrixprojection Matrix
See Also