mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-21 11:26:53 +01:00
33 lines
518 B
C++
33 lines
518 B
C++
#ifndef ENTITY_SKELETON_DATA_H
|
|
#define ENTITY_SKELETON_DATA_H
|
|
|
|
|
|
#include "core/object/resource.h"
|
|
#include "core/string/ustring.h"
|
|
|
|
class CharacterSkeletonVisualEntry;
|
|
|
|
class EntitySkeletonData : public Resource {
|
|
GDCLASS(EntitySkeletonData, Resource);
|
|
|
|
public:
|
|
protected:
|
|
static void _bind_methods();
|
|
|
|
enum {
|
|
MAX_ENTRIES = 20
|
|
};
|
|
|
|
struct ESDataEntry {
|
|
Ref<CharacterSkeletonVisualEntry> entry;
|
|
Vector3 offset;
|
|
Vector3 rotation;
|
|
Vector3 scale;
|
|
};
|
|
|
|
private:
|
|
ESDataEntry _entries[MAX_ENTRIES];
|
|
};
|
|
|
|
#endif
|