|
SleakEngine 1.0.0
C++23 multi-backend game engine
|
#include <Skeleton.hpp>
Public Member Functions | |
| Skeleton () | |
| int | AddBone (const Bone &bone) |
| Appends bone, assigning it the next bone id. | |
| int | AddNode (const NodeData &node) |
| Appends node, returning its index in the node array. | |
| void | AddNodeChild (int parentIdx, int childIdx) |
| Links childIdx under parentIdx in the node tree. | |
| int | FindBoneId (const std::string &name) const |
| int | FindNodeIndex (const std::string &name) const |
| const Bone & | GetBone (int id) const |
| int | GetBoneCount () const |
| const Math::Matrix4 & | GetGlobalInverseTransform () const |
| const NodeData & | GetNode (int idx) const |
| int | GetNodeCount () const |
| int | GetRootNodeIndex () const |
| bool | HasNodeTree () const |
| void | SetBoneParent (int boneId, int parentId) |
| Reassigns the parent of boneId, e.g. once the full hierarchy is known. | |
| void | SetGlobalInverseTransform (const Math::Matrix4 &mat) |
Bone hierarchy plus the full imported scene node tree, used to drive skinned mesh animation.
Definition at line 36 of file Skeleton.hpp.
|
inline |
Definition at line 38 of file Skeleton.hpp.
|
inline |
Appends bone, assigning it the next bone id.
Definition at line 50 of file Skeleton.hpp.
|
inline |
Appends node, returning its index in the node array.
Definition at line 68 of file Skeleton.hpp.
|
inline |
Links childIdx under parentIdx in the node tree.
Definition at line 76 of file Skeleton.hpp.
|
inline |
Definition at line 42 of file Skeleton.hpp.
|
inline |
Definition at line 86 of file Skeleton.hpp.
|
inline |
Definition at line 47 of file Skeleton.hpp.
|
inline |
Definition at line 40 of file Skeleton.hpp.
|
inline |
Definition at line 59 of file Skeleton.hpp.
|
inline |
Definition at line 82 of file Skeleton.hpp.
|
inline |
Definition at line 81 of file Skeleton.hpp.
|
inline |
Definition at line 84 of file Skeleton.hpp.
|
inline |
Definition at line 91 of file Skeleton.hpp.
|
inline |
Reassigns the parent of boneId, e.g. once the full hierarchy is known.
Definition at line 94 of file Skeleton.hpp.
|
inline |
Definition at line 63 of file Skeleton.hpp.