Kanzi  3.9.9
Kanzi Engine C++ API
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

Node3DWeakPtr boneNode
 Reference to the node of the bone. More...
 
Matrix4x4 inverseBindMatrix
 Inverse bind matrix for the bone, that is needed to calculate skin matrices for shader. More...
 
Node3DWeakPtr parentBoneNode
 Reference to the node of the parent bone. More...
 
string path
 Relative path to mesh node. 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

Node3DWeakPtr kanzi::Mesh::Bone::boneNode

Reference to the node of the bone.

Node3DWeakPtr kanzi::Mesh::Bone::parentBoneNode

Reference to the node of the parent bone.

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: