|
Unravel Engine C++ Reference
|
Describes the vertices that are connected to the referenced bone and how much influence it has on them. More...
#include <mesh.h>
Public Attributes | |
| std::string | bone_id |
| < The unique identifier of the bone. | |
| math::transform | bind_pose_transform |
| List of vertices influenced by the bone. | |
| vertex_influence_array_t | influences |
| math::bbox | bounds {} |
Describes the vertices that are connected to the referenced bone and how much influence it has on them.
| math::transform unravel::skin_bind_data::bone_influence::bind_pose_transform |
| std::string unravel::skin_bind_data::bone_influence::bone_id |
| math::bbox unravel::skin_bind_data::bone_influence::bounds {} |
| vertex_influence_array_t unravel::skin_bind_data::bone_influence::influences |
Bone-space bounds of all vertices influenced by this bone (vertex positions pre-multiplied by the bind pose transform). Transforming this box by the bone's world transform yields a conservative world-space bound of the skinned vertices, enabling frustum culling of animated meshes. May be unpopulated for legacy assets.