|
group2 0.1.0
CSE 125 Group 2
|
Catalog of ozz animation clips shared across all animated entities. More...
#include <cstdint>#include <memory>#include <string>Go to the source code of this file.
Classes | |
| class | AnimationLibrary |
| Collection of animation clips loaded on top of a shared skeleton. More... | |
Namespaces | |
| namespace | ozz |
| namespace | ozz::animation |
Enumerations | |
| enum class | ClipId : uint8_t { Idle , Walk , Run , RunBackward , SlowRun , Slide , WallRun , Jump , StrafeLeft , StrafeRight , StrafeLeftWalk , StrafeRightWalk , TurnLeft90 , TurnRight90 , CrouchIdle , CrouchWalk , CrouchWalkLeft , CrouchWalkRight , CrouchWalkBackward , StartForward , StartBackward , StartLeft , StartRight , StopForward , StopBackward , StopLeft , StopRight , PivotLeft , PivotRight , EmoteFlair , EmoteMaraschino , EmoteGangnam , EmoteHipHop , EmoteNorthernSoul , _Count } |
| Enumerated clip IDs. More... | |
Functions | |
| const char * | clipName (ClipId id) |
| Human-readable name for a clip (for UI / logging). | |
| const char * | clipFile (ClipId id) |
| Filename (relative to assets/animations/) for a clip. | |
| ClipId | emoteClipForIndex (int index) |
| Map an emote wheel index (0..emotes::kEmoteCount-1) to its ClipId. | |
Catalog of ozz animation clips shared across all animated entities.
|
strong |
Enumerated clip IDs.
See clipFile() for the on-disk filenames.
Any edits here must also extend clipName() and clipFile() in the .cpp.
| const char * clipFile | ( | ClipId | id | ) |
Filename (relative to assets/animations/) for a clip.
| const char * clipName | ( | ClipId | id | ) |
Human-readable name for a clip (for UI / logging).
| ClipId emoteClipForIndex | ( | int | index | ) |
Map an emote wheel index (0..emotes::kEmoteCount-1) to its ClipId.
Returns ClipId::_Count for out-of-range indices (treated as "no emote").