group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
AnimatedCharacter.hpp
Go to the documentation of this file.
1
3
4#pragma once
5
7
8#include <memory>
9
22{
23 std::unique_ptr<CharacterAnimator> animator;
24 int modelIndex = -1;
25};
Per-entity animator — state machine, sampling, blending, CPU skinning.
ECS component for an animated, skin-rendered character.
Definition AnimatedCharacter.hpp:22
std::unique_ptr< CharacterAnimator > animator
Per-entity sampling/blending/skinning state.
Definition AnimatedCharacter.hpp:23
int modelIndex
Renderer model index for this entity's skinned vertex buffer.
Definition AnimatedCharacter.hpp:24