Click or drag to resize
AB4D logo

BaseCameraGetCameraPlaneOrientation Method (Vector3D, Vector3D, Vector3D)

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

Namespace:  Ab3d.Cameras
Assembly:  Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 10.1.8147.1045
Syntax
C#
public void GetCameraPlaneOrientation(
	out Vector3D planeNormalVector3D,
	out Vector3D widthVector3D,
	out Vector3D heightVector3D
)

Parameters

planeNormalVector3D
Type: System.Windows.Media.Media3DVector3D
out Vector3D that specifies the plane's normal vector
widthVector3D
Type: System.Windows.Media.Media3DVector3D
out Vector3D that specifies the plane's width direction
heightVector3D
Type: System.Windows.Media.Media3DVector3D
out Vector3D that specifies the plane's height direction (same as camera's up vector)
See Also