Castor3D  ..
Public Member Functions | Public Attributes | List of all members
Castor3D::stVERTEX_BONE_DATA Struct Reference

Holds bone data for one vertex. More...

+ Collaboration diagram for Castor3D::stVERTEX_BONE_DATA:

Public Member Functions

C3D_API stVERTEX_BONE_DATA ()
 Constructor. More...
 
C3D_API void AddBoneData (uint32_t p_boneId, real p_weight)
 Adds bone informations to the vertex. More...
 

Public Attributes

uint32_t m_ids [C3D_MAX_BONES_PER_VERTEX]
 The bones ID. More...
 
real m_weights [C3D_MAX_BONES_PER_VERTEX]
 The bones weights. More...
 

Detailed Description

Holds bone data for one vertex.

Author
Sylvain DOREMUS
Version
0.7.0
Date
26/06/2013

Constructor & Destructor Documentation

◆ stVERTEX_BONE_DATA()

C3D_API Castor3D::stVERTEX_BONE_DATA::stVERTEX_BONE_DATA ( )

Constructor.

Member Function Documentation

◆ AddBoneData()

C3D_API void Castor3D::stVERTEX_BONE_DATA::AddBoneData ( uint32_t  p_boneId,
real  p_weight 
)

Adds bone informations to the vertex.

Parameters
[in]p_boneIdThe bone ID
[in]p_weightThe bone weight

Member Data Documentation

◆ m_ids

uint32_t Castor3D::stVERTEX_BONE_DATA::m_ids[C3D_MAX_BONES_PER_VERTEX]

The bones ID.

◆ m_weights

real Castor3D::stVERTEX_BONE_DATA::m_weights[C3D_MAX_BONES_PER_VERTEX]

The bones weights.


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