Click or drag to resize
Ab4d.SharpEngine logo

MatrixCameraGetCameraPlaneOrientation Method

GetCameraPlaneOrientation gets plane's normal, width and height vectors that can be used to orient the plane 3D model so that it is aligned with the camera view.

Namespace: Ab4d.SharpEngine.Cameras
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public void GetCameraPlaneOrientation(
	out Vector3? planeNormalVector,
	out Vector3? widthVector,
	out Vector3? heightVector
)

Parameters

planeNormalVector  Vector3
out Vector3 that specifies the plane's normal vector
widthVector  Vector3
out Vector3 that specifies the plane's width direction
heightVector  Vector3
out Vector3 that specifies the plane's height direction (same as camera's up vector)

Implements

ICameraGetCameraPlaneOrientation(Vector3, Vector3, Vector3)
See Also