kanzi::Mesh::Bone Struct Reference

Definition of mesh bone, that is used for mesh skinning. More...

#include <kanzi/core.ui/platform/graphics_backend/gl/mesh.hpp>

Public Member Functions

 Bone (string_view path)
 

Public Attributes

Node3DboneNode
 Reference to bone object node. More...
 
Node3DchildJoint
 Reference to child bone object node. More...
 
string path
 Relative path to mesh node. More...
 
Matrix4x4 inverseBindMatrix
 Inverse bind matrix for the bone, that is needed to calculate skin matrices for shader. More...
 

Detailed Description

Definition of mesh bone, that is used for mesh skinning.

Constructor & Destructor Documentation

kanzi::Mesh::Bone::Bone ( string_view  path)
inlineexplicit

Member Data Documentation

Node3D* kanzi::Mesh::Bone::boneNode

Reference to bone object node.

Node3D* kanzi::Mesh::Bone::childJoint

Reference to child bone object node.

string kanzi::Mesh::Bone::path

Relative path to mesh node.

Matrix4x4 kanzi::Mesh::Bone::inverseBindMatrix

Inverse bind matrix for the bone, that is needed to calculate skin matrices for shader.


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