Click or drag to resize
Ab4d.SharpEngine logo

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.Cameras
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public 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