|
BaseCameraGetCameraPlaneOrientation(ProjectionCamera, Vector3D, Vector3D, Vector3D) Method |
GetCameraPlaneOrientation sets plane 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.CamerasAssembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.2.9104.2045
Syntax public static void GetCameraPlaneOrientation(
ProjectionCamera projectionCamera,
out Vector3D planeNormalVector3D,
out Vector3D widthVector3D,
out Vector3D heightVector3D
)
Parameters
- projectionCamera ProjectionCamera
- WPF's ProjectionCamera that is used to get plane orientation
- planeNormalVector3D Vector3D
- out Vector3D that specifies the plane's normal vector
- widthVector3D Vector3D
- out Vector3D that specifies the plane's width direction
- heightVector3D Vector3D
- out Vector3D that specifies the plane's height direction (same as camera's up vector)
See Also