Table of Contents

Class AnimationEngineDelegate

Namespace
Lime
Assembly
Lime.dll
public class AnimationEngineDelegate : AnimationEngine
Inheritance
AnimationEngineDelegate
Inherited Members

Fields

OnAdvanceAnimation

public Action<Animation, double> OnAdvanceAnimation

Field Value

Action<Animation, double>

OnApplyEffectiveAnimatorsAndBuildTriggersList

public Action<Animation, double, double, bool> OnApplyEffectiveAnimatorsAndBuildTriggersList

Field Value

Action<Animation, double, double, bool>

OnRunAnimation

public Func<Animation, string, double, bool> OnRunAnimation

Field Value

Func<Animation, string, double, bool>

Methods

AdvanceAnimation(Animation, double)

public override void AdvanceAnimation(Animation animation, double delta)

Parameters

animation Animation
delta double

ApplyAnimatorsAndExecuteTriggers(Animation, double, double, bool)

  1. Refreshes animation.EffectiveAnimators;
  2. Applies each animator at currentTime;
  3. 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 override void ApplyAnimatorsAndExecuteTriggers(Animation animation, double previousTime, double currentTime, bool executeTriggersAtCurrentTime)

Parameters

animation Animation
previousTime double
currentTime double
executeTriggersAtCurrentTime bool

TryRunAnimation(Animation, string, double)

public override bool TryRunAnimation(Animation animation, string markerId, double animationTimeCorrection = 0)

Parameters

animation Animation
markerId string
animationTimeCorrection double

Returns

bool