A single css property being animated. Note that composite properties such as colours or rotations must be broken down into their inner properties (e.g. rgba, xyz). This is done internally by PowerUI.UIAnimation.
Public Member Functions | |
AnimatedProperty (UIAnimation animation, CssProperty property) | |
Creates a new animated property. More... | |
void | Animate (UIAnimation animation, Css.Value targetValue, Blaze.VectorPath timeCurve, bool updateCss) |
Animates this property now. More... | |
void | SetupValue (Css.Value hostValue, Css.Value rawValue) |
Sets up the initial value. More... | |
virtual void | Update (float deltaTime) |
void | AddToQueue () |
void | Stop () |
Public Attributes | |
bool | UpdateCss |
True if this particular property should flush the output to the screen. This is required if there are multiple inner properties for a particular CSS property. More... | |
float | CurrentTime |
The current time in seconds that has passed since the animation started. More... | |
float | ActiveValue |
The value that should be applied right now in terms of units. More... | |
UIAnimation | Animation |
The parent animation that this property belongs to. More... | |
Css.Value | RawStart |
The starting CSS value. More... | |
Css.Units.DecimalUnit | ValueObject |
The CSS value object that the current value of this is applied to. More... | |
CssProperty | PropertyInfo |
The potentially composite property being animated. E.g. color. More... | |
CssProperty | InnerPropertyInfo |
The "actual" property being animated, if there is one. E.g. color-r. More... | |
Css.Value | PropertyValueObject |
The CSS property that this value is a part of. For example, if this property currently being animated is the red component of the colour overlay, the property value object is the colour overlay as a whole. More... | |
AnimatedProperty | PropertyAfter |
Currently animated properties are stored in a linked list. This is the next one in the list. More... | |
AnimatedProperty | PropertyBefore |
Currently animated properties are stored in a linked list. This is the one before this in the list. More... | |
Blaze.CurveSampler | ProgressSampler |
The sampler used when progressing the animation. More... | |
Package Attributes | |
Css.Value | RawTarget |
The raw target value. More... | |
Properties | |
string | Property [get] |
The prime property being animated. More... | |
Element | Animating [get] |
The element being animated. More... | |
Private Member Functions | |
void | Complete () |
Private Attributes | |
float | DeltaValue |
TargetValue-StartValue. More... | |
float | StartValue |
The initial starting value. More... | |
|
inline |
Creates a new animated property.
animation | The animation that this property is a part of. |
property | The property being animated. |
|
inline |
|
inline |
Animates this property now.
animation | The animation that this property is a part of. |
targetValue | The parsed value that this property will be when the animation is over. |
timeCurve | Optional curve used to describe the progression of the animation. X is time, Y is value. Null acts like linear (a line from 0,0 to 1,1). |
updateCss | True if this particular property should flush its changes to css/the screen. |
|
inlineprivate |
Sets up the initial value.
|
inline |
|
inlinevirtual |
Reimplemented in PowerUI.AnimatedTransformProperty.
float PowerUI.AnimatedProperty.ActiveValue |
The value that should be applied right now in terms of units.
UIAnimation PowerUI.AnimatedProperty.Animation |
The parent animation that this property belongs to.
float PowerUI.AnimatedProperty.CurrentTime |
The current time in seconds that has passed since the animation started.
|
private |
TargetValue-StartValue.
CssProperty PowerUI.AnimatedProperty.InnerPropertyInfo |
The "actual" property being animated, if there is one. E.g. color-r.
Blaze.CurveSampler PowerUI.AnimatedProperty.ProgressSampler |
The sampler used when progressing the animation.
AnimatedProperty PowerUI.AnimatedProperty.PropertyAfter |
Currently animated properties are stored in a linked list. This is the next one in the list.
AnimatedProperty PowerUI.AnimatedProperty.PropertyBefore |
Currently animated properties are stored in a linked list. This is the one before this in the list.
CssProperty PowerUI.AnimatedProperty.PropertyInfo |
The potentially composite property being animated. E.g. color.
Css.Value PowerUI.AnimatedProperty.PropertyValueObject |
The CSS property that this value is a part of. For example, if this property currently being animated is the red component of the colour overlay, the property value object is the colour overlay as a whole.
Css.Value PowerUI.AnimatedProperty.RawStart |
The starting CSS value.
|
package |
The raw target value.
|
private |
The initial starting value.
bool PowerUI.AnimatedProperty.UpdateCss |
True if this particular property should flush the output to the screen. This is required if there are multiple inner properties for a particular CSS property.
Css.Units.DecimalUnit PowerUI.AnimatedProperty.ValueObject |
The CSS value object that the current value of this is applied to.
|
get |
The element being animated.
|
get |
The prime property being animated.