AnimationStateMachine.ForceStateFromNormalizedTimeWithCrossFade(string, float, float, bool) Method
Definition¶
Namespace: Brine2D.Animation
Imperatively drives the state machine to the named animation beginning at a normalised time, with a cross-fade over fadeDuration seconds.
public Brine2D.Animation.AnimationStateMachine ForceStateFromNormalizedTimeWithCrossFade(string animationName, float normalizedTime, float fadeDuration, bool restart=false);
Parameters¶
animationName System.String
normalizedTime System.Single
fadeDuration System.Single
restart System.Boolean