Click or drag to resize
AB4D logo

WpfCameraGetViewMatrix Method

GetViewMatrix sets viewMatrix and cameraPosition from the WPF's camera and isUsingRightHandedCoordinateSystem

Namespace: Ab3d.DirectX.Cameras
Assembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.0.8865.1045
Syntax
C#
public static void GetViewMatrix(
	Camera wpfCamera,
	bool isUsingRightHandedCoordinateSystem,
	out Matrix viewMatrix,
	out Vector3 cameraPosition
)

Parameters

wpfCamera  Camera
WPF's camera
isUsingRightHandedCoordinateSystem  Boolean
true if using right handed coordinate system
viewMatrix  Matrix
out Matrix
cameraPosition  Vector3
out Matrix
See Also