 |
FreeCameraGetRotatedCamera Method |
GetRotatedCamera method calculates rotatedCameraPosition, rotatedTargetPosition and rotatedUpDirection based on the rotating the camera from the initial camera position and direction.
Namespace: Ab4d.SharpEngine.CamerasAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.0.9208+3b2441d6a11f923f2600f40f4296bdc3d8b46035
Syntaxpublic void GetRotatedCamera(
Vector3 initialCameraPosition,
Vector3 initialTargetPosition,
Vector3 initialUpDirection,
float headingChange,
float attitudeChange,
float bankChange,
bool isRightHandedCoordinateSystem,
out Vector3 rotatedCameraPosition,
out Vector3 rotatedTargetPosition,
out Vector3 rotatedUpDirection
)
Parameters
- initialCameraPosition Vector3
- initial CameraPosition
- initialTargetPosition Vector3
- initial TargetPosition
- initialUpDirection Vector3
- initial UpDirection
- headingChange Single
- heading change
- attitudeChange Single
- attitude change
- bankChange Single
- bank change
- isRightHandedCoordinateSystem Boolean
- isRightHandedCoordinateSystem
- rotatedCameraPosition Vector3
- out parameter: rotated CameraPosition
- rotatedTargetPosition Vector3
- out parameter: rotated TargetPosition
- rotatedUpDirection Vector3
- out parameter: rotated UpDirection
See Also