#include <animation_component.h>
|
bool | eto {} |
| Disable empty type optimizations.
|
|
static constexpr bool | in_place_delete |
| Indicates if the component can be deleted in place.
|
|
Definition at line 10 of file animation_component.h.
◆ culling_mode
◆ get_animation()
◆ get_apply_root_motion()
auto unravel::animation_component::get_apply_root_motion |
( |
| ) |
const -> bool |
◆ get_autoplay()
auto unravel::animation_component::get_autoplay |
( |
| ) |
const -> bool |
Gets whether the animation is set to autoplay.
- Returns
- True if autoplay is enabled, false otherwise.
Definition at line 20 of file animation_component.cpp.
◆ get_culling_mode()
auto unravel::animation_component::get_culling_mode |
( |
| ) |
const -> const culling_mode& |
◆ get_player() [1/2]
◆ get_player() [2/2]
auto unravel::animation_component::get_player |
( |
| ) |
const -> const animation_player& |
◆ get_speed()
auto unravel::animation_component::get_speed |
( |
| ) |
const -> float |
Gets the current speed for animation playback.
- Returns
- The animation speed value.
Definition at line 50 of file animation_component.cpp.
◆ set_animation()
◆ set_apply_root_motion()
void unravel::animation_component::set_apply_root_motion |
( |
bool | on | ) |
|
◆ set_autoplay()
void unravel::animation_component::set_autoplay |
( |
bool | on | ) |
|
Sets whether the animation should autoplay.
- Parameters
-
on | True to autoplay, false otherwise. |
Definition at line 15 of file animation_component.cpp.
◆ set_culling_mode()
void unravel::animation_component::set_culling_mode |
( |
const culling_mode & | animation | ) |
|
◆ set_speed()
void unravel::animation_component::set_speed |
( |
float | speed | ) |
|
Sets the speed for animation playback.
- Parameters
-
speed | The animation speed (1.0 = normal speed, 2.0 = double speed, 0.5 = half speed). |
Definition at line 45 of file animation_component.cpp.
The documentation for this class was generated from the following files: