Grindstone Game Engine
v0.2.0
An open source game engine and toolkit.
Toggle main menu visibility
Loading...
Searching...
No Matches
AnimatorComponent.hpp
1
#pragma once
2
3
#include <string>
4
#include <vector>
5
6
#include <EngineCore/Reflection/ComponentReflection.hpp>
7
#include <EngineCore/WorldContext/WorldContextSet.hpp>
8
9
#include <Grindstone.Renderables.3D/include/Assets/AnimationClipAsset.hpp>
10
#include <Grindstone.Renderables.3D/include/Assets/RigAsset.hpp>
11
12
namespace
Grindstone
{
13
namespace
GraphicsAPI
{
14
class
Buffer
;
15
}
16
17
struct
AnimatorComponent
{
18
static
void
Destroy(
Grindstone::WorldContextSet
& worldContextSet, entt::entity entity);
19
AssetReference<AnimationClipAsset>
animation;
20
AssetReference<RigAsset>
rig;
21
GraphicsAPI::Buffer
* skeletonMatrixBuffer =
nullptr
;
22
23
REFLECT(
"Animator"
)
24
};
25
}
Grindstone::GraphicsAPI::Buffer
Definition
Buffer.hpp:49
Grindstone::WorldContextSet
Definition
WorldContextSet.hpp:11
Grindstone::GraphicsAPI
Definition
Buffer.hpp:9
Grindstone
Definition
ArchiveContentFile.hpp:8
Grindstone::AnimatorComponent
Definition
AnimatorComponent.hpp:17
Grindstone::AssetReference
Definition
AssetReference.hpp:45
plugins
Grindstone.Renderables.3D
include
Components
AnimatorComponent.hpp
Generated by
1.17.0