|
Aeon Engine c550894
AeonGames Open Source Game Engine
|
Skeletal animation resource containing a hierarchy of joints. More...
#include <aeongames/Skeleton.hpp>


Classes | |
| class | Joint |
| A single joint within a skeleton hierarchy. More... | |
Public Member Functions | |
| DLL | Skeleton () |
| Construct an empty skeleton. | |
| DLL | ~Skeleton () |
| Destructor. | |
| DLL void | LoadFromMemory (const void *aBuffer, size_t aBufferSize) final |
| Load the skeleton from a memory buffer. | |
| DLL void | LoadFromPBMsg (const SkeletonMsg &aSkeletonMsg) |
| Load the skeleton from a protobuf message. | |
| DLL void | Unload () final |
| Unload and release skeleton data. | |
| DLL const std::vector< Joint > & | GetJoints () const |
| Get the joint list. | |
| Public Member Functions inherited from AeonGames::Resource | |
| virtual | ~Resource () |
| Virtual destructor. | |
| DLL void | LoadFromId (uint32_t aId) |
| Load the resource identified by a numeric id. | |
| DLL void | LoadFromFile (const std::string &aFilename) |
| Load the resource from a file on disk. | |
| DLL size_t | GetConsecutiveId () const |
| Get the Consecutive Id for the resource object. | |
Skeletal animation resource containing a hierarchy of joints.
Definition at line 29 of file Skeleton.hpp.
| const std::vector< Skeleton::Joint > & AeonGames::Skeleton::GetJoints | ( | ) | const |
Get the joint list.
Definition at line 124 of file Skeleton.cpp.
|
finalvirtual |
Load the skeleton from a memory buffer.
| aBuffer | Pointer to the data buffer. |
| aBufferSize | Size of the buffer in bytes. |
Implements AeonGames::Resource.
Definition at line 59 of file Skeleton.cpp.
| void AeonGames::Skeleton::LoadFromPBMsg | ( | const SkeletonMsg & | aSkeletonMsg | ) |
Load the skeleton from a protobuf message.
| aSkeletonMsg | The skeleton message to read from. |
Definition at line 64 of file Skeleton.cpp.
|
finalvirtual |
Unload and release skeleton data.
Implements AeonGames::Resource.
Definition at line 119 of file Skeleton.cpp.