Click or drag to resize
AB4D logo

WpfCameraGetProjectionMatrix Method

GetProjectionMatrix returns projection Matrix for the specified camera's properties

Namespace: Ab3d.DirectX.Cameras
Assembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.0.8865.1045
Syntax
C#
public 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

Matrix
projection Matrix
See Also