Click or drag to resize
Ab4d.SharpEngine logo

IRotatingCamera Interface

IRotatingCamera interface defines a camera that provides rotation animation

Namespace: Ab4d.SharpEngine.Cameras
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public interface IRotatingCamera

The IRotatingCamera type exposes the following members.

Properties
 NameDescription
Public propertyIsRotating Gets or sets a boolean that specifies if the camera is currently being animated by calling StartRotation(Single, Single) or StartRotation(Single, Single, Single, FuncSingle, Single) methods.
Top
Methods
 NameDescription
Public methodStartRotation(Single, Single) StartRotation method immediately starts Heading and Attitude animation for this camera. To slowly start the camera rotation and than accelerate the rotation, use the StartRotation(Single, Single, Single, FuncSingle, Single) method.
Public methodStartRotation(Single, Single, Single, FuncSingle, Single) StartRotation method slowly starts the camera rotation (animating Heading and Attitude properties) and than accelerates the rotation. To immediately start rotation for this camera, use the StartRotation(Single, Single) method.
Public methodStopRotation StopRotation immediately stops the rotation animation of the camera.
Public methodStopRotation(Single, FuncSingle, Single) StopRotation slowly stops the rotation animation of the camera with preserving the rotation inertia.
Top
See Also