Click or drag to resize
DigitalRuneAnimationT Class
Provides a base implementation for animations.
Inheritance Hierarchy
SystemObject
  DigitalRune.AnimationAnimationT
    More...

Namespace: DigitalRune.Animation
Assembly: DigitalRune.Animation (in DigitalRune.Animation.dll) Version: 1.4.0.0 (1.4.1.14427)
Syntax
public abstract class Animation<T> : IAnimation<T>, 
	IAnimation, ITimeline

Type Parameters

T
The type of the animation value.

The AnimationT type exposes the following members.

Constructors
  NameDescription
Protected methodAnimationT
Initializes a new instance of the AnimationT class.
Top
Methods
  NameDescription
Public methodCreateBlendAnimation
Public methodCreateInstance
Creates an animation instance that can be used to play back the animation. (For internal use only.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetAnimationTime
Gets the animation time for the specified time on the timeline.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetState
Gets the state of the animation for the specified time on the timeline.
Public methodGetTotalDuration
Gets the total length of the timeline.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValue
Gets the value of the animation at the specified time.
Protected methodGetValueCore
Evaluates the animation function at the specified animation time.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyFillBehavior
Gets or sets a value that specifies how the animation behaves when it reaches the end of its duration.
Public propertyIsAdditive
Gets or sets a value indicating whether the output of the animation is added to the current value of the property that is being animated.
Public propertyTargetObject
Gets or sets the object to which the animation is applied by default.
Public propertyTargetProperty
Gets or sets the property to which the animation is applied by default.
Public propertyTraits
Gets the traits of the animation values.
Top
Remarks

AnimationT provides a base implementation which is extended by the different types of animations in DigitalRune Animation. The base class implements the interfaces ITimeline and IAnimationT, which means that an AnimationT is both a timeline and an animation. The timeline part defines when an animation starts and how long it is active. (When the animation system is playing an animation it is actually playing back a timeline.) The animation part defines the actual animation of a value.

See interfaces ITimeline and IAnimationT to read more about timelines and animations.

See Also
Inheritance Hierarchy
SystemObject
  DigitalRune.AnimationAnimationT
    DigitalRune.AnimationAnimationCurveTValue, TPoint, TCurveKey, TCurve
    DigitalRune.AnimationColorAnimation
    DigitalRune.AnimationFromToByAnimationT
    DigitalRune.AnimationKeyFrameAnimationT
    DigitalRune.AnimationPathAnimationTPoint, TPathKey, TPath
    DigitalRune.AnimationQuaternionAnimation
    DigitalRune.AnimationQuaternionFAnimation
    DigitalRune.AnimationSrtAnimation
    DigitalRune.AnimationVector2Animation
    DigitalRune.AnimationVector2FAnimation
    DigitalRune.AnimationVector3Animation
    DigitalRune.AnimationVector3FAnimation
    DigitalRune.AnimationVector4Animation
    DigitalRune.AnimationVector4FAnimation