![]() |
Lysa
0.0
Lysa 3D Engine
|
Holds data that can be used to animate anything.
Inheritance diagram for Animation:Public Member Functions | |
| Animation (uint32 tracksCount, const std::string &name) | |
| Animation (const Animation &anim) | |
| void | setLoopMode (const AnimationLoopMode mode) |
| auto | getLoopMode () const |
| auto | getTracksCount () const |
| auto & | getTrack (const uint32 index) |
| const auto & | getName () const |
| const auto & | getTracks () const |
Public Member Functions inherited from UnmanagedResource | |
| UnmanagedResource () | |
| UnmanagedResource (const Resource &other) | |
Public Member Functions inherited from Resource | |
| bool | operator== (const Resource &other) const |
| Resource () = default | |
| Resource (const unique_id id) | |
| virtual | ~Resource () = default |
Additional Inherited Members | |
Public Attributes inherited from Resource | |
| unique_id | id {INVALID_ID} |
| Animation | ( | uint32 | tracksCount, |
| const std::string & | name | ||
| ) |
Creates an Animation
| tracksCount | number of tracks to allocate |
| name | The name of the animation |
| Animation | ( | const Animation & | anim | ) |
|
inline |
Returns the looping mode
|
inline |
Returns the name of the animation
|
inline |
Returns a given track
|
inline |
Returns all tracks
|
inline |
Returns the number of tracks
|
inline |
Sets the looping mode