Castor3D 0.16.0
Multiplatform 3D engine
Classes | Public Member Functions | Public Attributes | List of all members
castor3d::VertexBoneData Struct Reference

#include <VertexBoneData.hpp>

Collaboration diagram for castor3d::VertexBoneData:
Collaboration graph
[legend]

Classes

union  Ids
 
union  Weights
 

Public Member Functions

C3D_API VertexBoneData ()=default
 
C3D_API void addBoneData (uint32_t boneId, float weight)
 adds bone informations to the vertex
 

Public Attributes

Ids m_ids
 
Weights m_weights
 

Constructor & Destructor Documentation

◆ VertexBoneData()

C3D_API castor3d::VertexBoneData::VertexBoneData ( )
default

Member Function Documentation

◆ addBoneData()

C3D_API void castor3d::VertexBoneData::addBoneData ( uint32_t boneId,
float weight )

adds bone informations to the vertex

Parameters
[in]boneIdThe bone ID
[in]weightThe bone weight

Member Data Documentation

◆ m_ids

Ids castor3d::VertexBoneData::m_ids

◆ m_weights

Weights castor3d::VertexBoneData::m_weights

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