Click or drag to resize
DigitalRuneAnimation<T> Class
Provides a base implementation for animations.
Inheritance Hierarchy
System.Object
  DigitalRune.Animation.Animation<T>
    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 Animation< T> type exposes the following members.

Constructors
  NameDescription
Protected methodAnimation<T>
Initializes a new instance of the Animation< T> 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

Animation< T> provides a base implementation which is extended by the different types of animations in DigitalRune Animation. The base class implements the interfaces ITimeline and IAnimation<T>, which means that an Animation< T> 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 IAnimation< T> to read more about timelines and animations.

See Also
Inheritance Hierarchy
System.Object
  DigitalRune.Animation.Animation<T>
    DigitalRune.Animation.AnimationCurve<TValue, TPoint, TCurveKey, TCurve>
    DigitalRune.Animation.ColorAnimation
    DigitalRune.Animation.FromToByAnimation<T>
    DigitalRune.Animation.KeyFrameAnimation<T>
    DigitalRune.Animation.PathAnimation<TPoint, TPathKey, TPath>
    DigitalRune.Animation.QuaternionAnimation
    DigitalRune.Animation.QuaternionFAnimation
    DigitalRune.Animation.SrtAnimation
    DigitalRune.Animation.Vector2Animation
    DigitalRune.Animation.Vector2FAnimation
    DigitalRune.Animation.Vector3Animation
    DigitalRune.Animation.Vector3FAnimation
    DigitalRune.Animation.Vector4Animation
    DigitalRune.Animation.Vector4FAnimation