kanzi::Mesh::Skeleton Struct Reference

Skeleton is for animating mesh with bones. More...

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

Public Member Functions

 Skeleton ()
 
 Skeleton (const Skeleton &other)
 Copy constructor. More...
 
Skeletonoperator= (const Skeleton &other)
 Copy operator. More...
 

Public Attributes

vector< BoneSharedPtrbones
 Array of bones. More...
 
Matrix4x4 bindShapeMatrix
 Bind shape matrix used for mesh skinning. More...
 
Matrix4x4 inverseRootTransform
 Inverse transform for the skeleton root. More...
 
Box originalBoundingBox
 Original bounding volume of the mesh. More...
 

Detailed Description

Skeleton is for animating mesh with bones.

Bone animation uses shader based matrix palette skinning.

Constructor & Destructor Documentation

kanzi::Mesh::Skeleton::Skeleton ( )
inlineexplicit
kanzi::Mesh::Skeleton::Skeleton ( const Skeleton other)
inline

Copy constructor.

Parameters
otherSource skeleton.

Member Function Documentation

Skeleton& kanzi::Mesh::Skeleton::operator= ( const Skeleton other)
inline

Copy operator.

Parameters
otherSource skeleton.

Member Data Documentation

vector<BoneSharedPtr> kanzi::Mesh::Skeleton::bones

Array of bones.

Matrix4x4 kanzi::Mesh::Skeleton::bindShapeMatrix

Bind shape matrix used for mesh skinning.

Matrix4x4 kanzi::Mesh::Skeleton::inverseRootTransform

Inverse transform for the skeleton root.

Calculated during scene extract.

Box kanzi::Mesh::Skeleton::originalBoundingBox

Original bounding volume of the mesh.


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