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: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntax
C#
public override void SetCameraRotation(
	float newHeading,
	float newAttitude
)

Parameters

newHeading  Single
new heading value
newAttitude  Single
new attitude value
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Cameras.TargetPositionCamera.SetCameraRotation(System.Single,System.Single)"]

See Also