Skip to content

AnimationStateMachine.ForceStateFromFrame(string, int, bool) Method

Definition

Namespace: Brine2D.Animation

Imperatively drives the state machine to the named animation beginning at a specific frame.

public Brine2D.Animation.AnimationStateMachine ForceStateFromFrame(string animationName, int startFrame, bool restart=false);

Parameters

animationName System.String

startFrame System.Int32

restart System.Boolean

Returns

AnimationStateMachine