Click or drag to resize
DigitalRuneAnimatablePropertyT Class
Represents a property that can be animated. (Default implementation.)
Inheritance Hierarchy
SystemObject
  DigitalRune.AnimationAnimatablePropertyT

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

Type Parameters

T
The type of the property.

The AnimatablePropertyT type exposes the following members.

Constructors
  NameDescription
Public methodAnimatablePropertyT
Initializes a new instance of the AnimatablePropertyT class
Top
Methods
  NameDescription
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 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.)
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 propertyValue
Gets or sets the value of the property.
Top
Explicit Interface Implementations
Remarks

An AnimatablePropertyT represents a standalone value, which can be animated by the animation system. (Use DelegateAnimatablePropertyT if you want to animate an existing field or property instead of creating a standalone value.)

AnimatablePropertyT provides a default implementation of the interface IAnimatablePropertyT which is required by the animation system. It internally stores two values: a base value and an animation value.

Base Value: The base value is the value of the property that is valid when no animations are active. The animation system reads the base value but does not change it. The base value is used by certain types of animations: For example, additive animations will add the result of the animations to the base value value. Another example are "From-To-Animations": If only the "To" value is defined then the animation will animate from the base value of the property to the "To" value defined in the animation.

Animation Value: The animation value of the property is determined by the animations that are controlling the property. The properties IsAnimated and AnimationValue are set by the animations system and should be treated as read-only. IsAnimated is when an animation is active; indicates that no animations are active. In this case the base value is the effective value of the property.

See Also