61 bool auto_play_ =
true;
62 bool apply_root_motion_ =
false;
void set_culling_mode(const culling_mode &animation)
void set_apply_root_motion(bool on)
auto get_player() const -> const animation_player &
auto get_culling_mode() const -> const culling_mode &
auto get_speed() const -> float
Gets the current speed for animation playback.
void set_speed(float speed)
Sets the speed for animation playback.
auto get_animation() const -> const asset_handle< animation_clip > &
auto get_autoplay() const -> bool
Gets whether the animation is set to autoplay.
void set_animation(const asset_handle< animation_clip > &animation)
auto get_apply_root_motion() const -> bool
void set_autoplay(bool on)
Sets whether the animation should autoplay.
Class responsible for playing animations on a skeletal mesh.
Represents a handle to an asset, providing access and management functions.
Struct representing an animation.
CRTP (Curiously Recurring Template Pattern) base structure for components.