Unravel Engine C++ Reference
Loading...
Searching...
No Matches
unravel::skin_bind_data::bone_influence Struct 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 {}
 

Detailed Description

Describes the vertices that are connected to the referenced bone and how much influence it has on them.

Definition at line 70 of file mesh.h.

Member Data Documentation

◆ bind_pose_transform

math::transform unravel::skin_bind_data::bone_influence::bind_pose_transform

List of vertices influenced by the bone.

Definition at line 75 of file mesh.h.

◆ bone_id

std::string unravel::skin_bind_data::bone_influence::bone_id

< The unique identifier of the bone.

The "bind pose" or "offset" transform of the bone.

Definition at line 73 of file mesh.h.

◆ bounds

math::bbox unravel::skin_bind_data::bone_influence::bounds {}

Definition at line 82 of file mesh.h.

◆ influences

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.

Definition at line 77 of file mesh.h.


The documentation for this struct was generated from the following file: