AnimationState

Types

struct AnimationState

typedef struct AnimationState {
  AnimationController controller;
  uint32_t state_id;
} AnimationState;

Functions

AnimationState_Controller( AnimationState state ) : AnimationController

AnimationState_Clip( AnimationState state ) : AnimationClip

AnimationState_Layer( AnimationState state ) : uint32_t

AnimationState_LoopMode( AnimationState state ) : AnimationLoopMode

AnimationState_Enabled( AnimationState state ) : bool

AnimationState_Weight( AnimationState state ) : float

AnimationState_TargetWeight( AnimationState state ) : float

AnimationState_Speed( AnimationState state ) : float

AnimationState_Time( AnimationState state ) : float

Methods

AnimationState_SetClip( AnimationState state, AnimationClip clip ) : void

AnimationState_SetLoopMode( AnimationState state, AnimationLoopMode loop_mode ) : void

AnimationState_SetEnabled( AnimationState state, bool enabled ) : void

AnimationState_Play( AnimationState state) : void

AnimationState_Pause( AnimationState state) : void

AnimationState_Stop( AnimationState state) : void

AnimationState_SetWeight( AnimationState state, float weight ) : void

AnimationState_SetTargetWeight( AnimationState state, float target_weight ) : void

AnimationState_SetSpeed( AnimationState state, float speed ) : void
AnimationState_SetTime( AnimationState state, float time ) : void