 |
CameraUtilsCalculateCameraDirections Method |
Returns the lookDirection and upDirection from the specified heading, attitude and bank (angles in degrees).
Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.0.9208+3b2441d6a11f923f2600f40f4296bdc3d8b46035
Syntaxpublic static void CalculateCameraDirections(
float heading,
float attitude,
float bank,
out Vector3? lookDirection,
out Vector3? upDirection
)
Parameters
- heading Single
- heading in degrees
- attitude Single
- attitude in degrees
- bank Single
- bank in degrees
- lookDirection Vector3
- lookDirection as normalized Vector3
- upDirection Vector3
- upDirection as normalized Vector3
See Also