|
FreeCameraCalculateUpDirection Method |
CalculateUpDirection calculates the up direction from the specified properties.
Namespace: Ab4d.SharpEngine.CamerasAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax public static Vector3 CalculateUpDirection(
Vector3 cameraPosition,
Vector3 targetPosition,
Vector3 sceneUpDirection
)
Parameters
- cameraPosition Vector3
- camera position
- targetPosition Vector3
- target position
- sceneUpDirection Vector3
- scene's UpDirection
Return Value
Vector3[Missing <returns> documentation for "M:Ab4d.SharpEngine.Cameras.FreeCamera.CalculateUpDirection(System.Numerics.Vector3,System.Numerics.Vector3,System.Numerics.Vector3)"]
See Also