|
Monad Engine da02fba2
> Undercity Codex_
|
#include <Skeleton.h>
Collaboration diagram for mnd::Bone:Public Attributes | |
| std::string | name |
| i32 | parentIndex = -1 |
| Index into Skeleton::bones, or -1 for the root. | |
| glm::mat4 | localBind = glm::mat4(1) |
| Local bind transform (relative to parent). | |
| glm::mat4 | offsetMatrix = glm::mat4(1) |
Inverse bind matrix in mesh space (Assimp aiBone::mOffsetMatrix). | |
| glm::vec3 | bindPos = glm::vec3(0.0f) |
| glm::quat | bindRot = glm::quat(1.0f, 0.0f, 0.0f, 0.0f) |
| glm::vec3 | bindScale = glm::vec3(1.0f) |
Definition at line 22 of file Skeleton.h.
| glm::vec3 mnd::Bone::bindPos = glm::vec3(0.0f) |
Bind decomposition (filled by Skeleton::AddBone). Used by EvaluatePose as a fallback when an animation track omits a TRS channel — without this a track that only animates rotation would zero out the bone's bind offset.
Definition at line 32 of file Skeleton.h.
Referenced by mnd::Skeleton::AddBone(), and mnd::EvaluatePose().
| glm::quat mnd::Bone::bindRot = glm::quat(1.0f, 0.0f, 0.0f, 0.0f) |
Definition at line 33 of file Skeleton.h.
Referenced by mnd::Skeleton::AddBone(), and mnd::EvaluatePose().
| glm::vec3 mnd::Bone::bindScale = glm::vec3(1.0f) |
Definition at line 34 of file Skeleton.h.
Referenced by mnd::Skeleton::AddBone(), and mnd::EvaluatePose().
| glm::mat4 mnd::Bone::localBind = glm::mat4(1) |
Local bind transform (relative to parent).
Definition at line 26 of file Skeleton.h.
Referenced by mnd::Skeleton::AddBone().
| std::string mnd::Bone::name |
Definition at line 24 of file Skeleton.h.
Referenced by mnd::Skeleton::AddBone().
| glm::mat4 mnd::Bone::offsetMatrix = glm::mat4(1) |
Inverse bind matrix in mesh space (Assimp aiBone::mOffsetMatrix).
Definition at line 27 of file Skeleton.h.
| i32 mnd::Bone::parentIndex = -1 |
Index into Skeleton::bones, or -1 for the root.
Definition at line 25 of file Skeleton.h.