Click or drag to resize
Ab4d.SharpEngine logo

FreeCameraRotateCamera(Single, Single, Single) Method

Rotates the free camera for the specified heading, attitude and bank. When RotationCenterPosition is set, the camera rotates around RotationCenterPosition which changes the TargetPosition and CameraPosition.

Namespace: Ab4d.SharpEngine.Cameras
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntax
C#
public virtual void RotateCamera(
	float headingChange,
	float attitudeChange,
	float bankChange
)

Parameters

headingChange  Single
heading change in degrees
attitudeChange  Single
attitude change in degrees
bankChange  Single
bank change in degrees
Remarks

Rotates the free camera for the specified heading, attitude and bank.

When RotationCenterPosition is set, the camera rotates around RotationCenterPosition which changes the TargetPosition and CameraPosition.

headingChange defines the angle of rotation around camera's UpDirection or camera's RotationUpAxis (when set).

attitudeChange defines the angle of rotation around the right direction vector (vector perpendicular to up vector and look direction).

bankChange defines the angle of rotation around camera's look direction.

See Also