Summary
Is this state currently playing towards the `normalizedTime`?
Syntax
public bool IsApproachingTime(float normalizedTime)
System.Single.NaN will use
Animancer.AnimancerState.IsApproachingEnd.
Note that this will return true if the
Animancer.AnimancerNodeBase.EffectiveSpeed is 0
or
Animancer.AnimancerState.IsPlaying is false even though it isn't technically approaching the end.
This method is called by
System.Collections.IEnumerator.MoveNext
so this object can be used as a custom yield instruction to wait until it finishes.
Parameters
| Name |
Type |
Description |
| normalizedTime |
float |
|
Return Value