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

Detailed Description

Definition of mesh bone that is used for mesh skinning.

Constructor & Destructor Documentation

◆ Bone()

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

Member Data Documentation

◆ boneNode

Node3DWeakPtr kanzi::Mesh::Bone::boneNode

Reference to the node of the bone.

◆ parentBoneNode

Node3DWeakPtr kanzi::Mesh::Bone::parentBoneNode

Reference to the node of the parent bone.

◆ path

string kanzi::Mesh::Bone::path

Relative path to mesh node.

◆ inverseBindMatrix

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: