AnimatablePropertyT Class |
Namespace: DigitalRune.Animation
The AnimatablePropertyT type exposes the following members.
Name | Description | |
---|---|---|
AnimatablePropertyT | Initializes a new instance of the AnimatablePropertyT class |
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
IAnimatablePropertyAnimationValue |
Gets the animation value.
| |
IAnimatablePropertyTAnimationValue |
Gets or sets the animation value.
| |
IAnimatablePropertyBaseValue |
Gets the base value.
| |
IAnimatablePropertyTBaseValue |
Gets the base value.
| |
IAnimatablePropertyHasBaseValue |
Gets a value indicating whether this property has a base value.
| |
IAnimatablePropertyIsAnimated |
Gets or sets a value indicating whether this property is animated by the animation system.
|
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.