|
group2 0.1.0
CSE 125 Group 2
|
Load FBX animation clips onto a shared skeleton. More...
#include "AnimationLibrary.hpp"#include "CharacterRig.hpp"#include <SDL3/SDL_log.h>#include <assimp/Importer.hpp>#include <assimp/config.h>#include <assimp/postprocess.h>#include <assimp/scene.h>#include <ozz/animation/offline/animation_builder.h>#include <ozz/animation/offline/raw_animation.h>#include <ozz/animation/runtime/animation.h>#include <ozz/animation/runtime/skeleton.h>#include <algorithm>#include <array>#include <cmath>#include <unordered_map>#include <vector>Classes | |
| struct | AnimationLibrary::Impl |
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. | |
Load FBX animation clips onto a shared skeleton.
| 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").