Click or drag to resize

RealTimeAnimation Class

Allows the user to animate in wall clock time. The time of the frame that is currently rendering is the same as the wall clock time. A TimeOffset can be applied to the time.
Inheritance Hierarchy

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 20.3.405.0 (20.3.405.0)
Syntax
public sealed class RealTimeAnimation : ForwardAnimation

The RealTimeAnimation type exposes the following members.

Constructors
  NameDescription
Public methodRealTimeAnimation
Initializes a new instance.
Top
Properties
  NameDescription
Public propertyIsAnimating
Gets whether or not animation is playing.
(Inherited from ForwardAnimation.)
Public propertyIsPaused
Gets whether or not animation is paused.
(Inherited from ForwardAnimation.)
Public propertyIsReset
Gets whether or not animation has been reset.
(Inherited from ForwardAnimation.)
Public propertyIsStopped
Gets whether or not animation is stopped.
(Inherited from ForwardAnimation.)
Public propertyMessageLoopType
Gets or sets the type of message loop, Windows Forms or Windows Presentation Foundation, employed by the application. By default, this is set to MessageLoopType.AutoDetect.
(Inherited from ForwardAnimation.)
Public propertyRefreshRate
Gets or sets the rate (fastest or fixed) at which the scene is refreshed during rendering.
(Inherited from ForwardAnimation.)
Public propertyTargetedFramesPerSecond
Gets or sets the targeted frames per second if RefreshRate is set to use TargetedFramesPerSecond.
(Inherited from ForwardAnimation.)
Public propertyTime
Gets or sets the current animation time.
(Inherited from ForwardAnimation.)
Public propertyTimeOffset
Gets or sets the offset in seconds that is applied to the current time. For example, to have time run ten seconds behind the current time, set to ten.
Top
Methods
  NameDescription
Public methodDispose (Inherited from MinimalForwardAnimation.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodNextFrame
Advances to the next frame. This method is called automatically during rendering, and should not be called directly.
(Overrides ForwardAnimationNextFrame.)
Public methodPause
Pauses animation.
(Inherited from ForwardAnimation.)
Public methodPlayForward
Starts animation forward.
(Inherited from ForwardAnimation.)
Public methodReset
Resets animation to the start time.
(Inherited from ForwardAnimation.)
Public methodStepForward
Steps animation forward.
(Inherited from ForwardAnimation.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventHasReset
Occurs if animation has reset.
(Inherited from ForwardAnimation.)
Public eventPaused
Occurs if animation has paused.
(Inherited from ForwardAnimation.)
Public eventStarted
Occurs if animation has paused.
(Inherited from ForwardAnimation.)
Public eventStopped
Occurs if animation has stopped.
(Inherited from ForwardAnimation.)
Top
See Also