Kanzi Framework  3.9.0
Kanzi Engine 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 bone object node. More...
 
Node3DWeakPtr childJoint
 Reference to child bone object node. More...
 
Matrix4x4 inverseBindMatrix
 Inverse bind matrix for the bone, that is needed to calculate skin matrices for shader. More...
 
string path
 Relative path to mesh node. More...
 

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 bone object node.

◆ childJoint

Node3DWeakPtr kanzi::Mesh::Bone::childJoint

Reference to child bone object node.

◆ 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: