Class AnimationEngine
- Namespace
- Lime
- Assembly
- Lime.dll
public class AnimationEngine
- Inheritance
-
AnimationEngine
- Derived
-
- Inherited Members
-
Fields
JumpAffectsRunningMarkerId
public static bool JumpAffectsRunningMarkerId
Field Value
- bool
Methods
AdvanceAnimation(Animation, double)
public virtual void AdvanceAnimation(Animation animation, double delta)
Parameters
animation
Animation
delta
double
ApplyAnimatorsAndExecuteTriggers(Animation, double, double, bool)
- Refreshes animation.EffectiveAnimators;
- Applies each animator at currentTime;
- Executes triggers in given range.
The range is [previousTime, currentTime) or [previousTime, currentTime]
depending on executeTriggersAtCurrentTime flag.
This method doesn't depend on animation.Time value.
public virtual void ApplyAnimatorsAndExecuteTriggers(Animation animation, double previousTime, double currentTime, bool executeTriggersAtCurrentTime)
Parameters
animation
Animation
previousTime
double
currentTime
double
executeTriggersAtCurrentTime
bool
AreEffectiveAnimatorsValid(Animation)
public virtual bool AreEffectiveAnimatorsValid(Animation animation)
Parameters
animation
Animation
Returns
- bool
BuildEffectiveAnimators(Animation)
public virtual void BuildEffectiveAnimators(Animation animation)
Parameters
animation
Animation
RaiseStopped(Animation)
public virtual void RaiseStopped(Animation animation)
Parameters
animation
Animation
TryRunAnimation(Animation, string, double)
public virtual bool TryRunAnimation(Animation animation, string markerId, double animationTimeCorrection = 0)
Parameters
animation
Animation
markerId
string
animationTimeCorrection
double
Returns
- bool