Click or drag to resize
Ab4d.SharpEngine logo

TargetPositionCameraSetCameraRotation Method

SetCameraRotation sets the Heading and Attitude values and raises the CameraChanged event only once. When RotationCenterPosition is set, the camera rotates around RotationCenterPosition which can change Heading, Attitude, TargetPosition and Distance.

Namespace: Ab4d.SharpEngine.Cameras
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntax
C#
public override void SetCameraRotation(
	float newHeading,
	float newAttitude
)

Parameters

newHeading  Single
new heading value
newAttitude  Single
new attitude value
See Also