group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
CharacterAnimator.hpp File Reference

Per-entity animator — state machine, sampling, blending, CPU skinning. More...

#include "AnimationLibrary.hpp"
#include "CharacterRig.hpp"
#include "SkinningBackend.hpp"
#include <array>
#include <glm/glm.hpp>
#include <memory>
#include <vector>
Include dependency graph for CharacterAnimator.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  AnimationInputs
 Driving inputs for the animation state machine. More...
 
struct  ClipSampler
 One active sampler slot contributing to the per-frame blend. More...
 
class  CharacterAnimator
 Per-entity animator. More...
 

Variables

static constexpr size_t kNumSamplerSlots = 5
 Number of sampler slots available for the per-frame blend.
 

Detailed Description

Per-entity animator — state machine, sampling, blending, CPU skinning.

Variable Documentation

◆ kNumSamplerSlots

constexpr size_t kNumSamplerSlots = 5
staticconstexpr

Number of sampler slots available for the per-frame blend.

[0] locomotion primary (Idle / Walk / Run / RunBackward) [1] locomotion secondary (for 1-D speed band blend) [2] locomotion strafe (StrafeLeft/Right, WalkStrafe/RunStrafe) [3] override (Slide / WallRun / Jump / debug clip) [4] reserved (future: additive upper-body layer)