#include <ModelDef.h>
◆ RenderDataMap
◆ anonymous enum
◆ anonymous enum
Enumerator |
---|
FILE_READ_VERSION | |
◆ CModelDef()
◆ ~CModelDef()
CModelDef::~CModelDef |
( |
| ) |
|
◆ BlendBoneMatrices()
void CModelDef::BlendBoneMatrices |
( |
CMatrix3D |
boneMatrices[] | ) |
|
Blend bone matrices together to fill bone palette.
◆ FindPropPoint()
const SPropPoint * CModelDef::FindPropPoint |
( |
const char * |
name | ) |
const |
◆ GetBlendIndices()
size_t * CModelDef::GetBlendIndices |
( |
| ) |
const |
|
inline |
◆ GetBlends()
◆ GetBones()
◆ GetFaces()
◆ GetInverseBindBoneMatrices()
CMatrix3D * CModelDef::GetInverseBindBoneMatrices |
( |
| ) |
|
|
inline |
◆ GetMaxBounds()
◆ GetName()
const VfsPath & CModelDef::GetName |
( |
| ) |
const |
|
inline |
◆ GetNumBlends()
size_t CModelDef::GetNumBlends |
( |
| ) |
const |
|
inline |
◆ GetNumBones()
size_t CModelDef::GetNumBones |
( |
| ) |
const |
|
inline |
◆ GetNumFaces()
size_t CModelDef::GetNumFaces |
( |
| ) |
const |
|
inline |
◆ GetNumUVsPerVertex()
size_t CModelDef::GetNumUVsPerVertex |
( |
| ) |
const |
|
inline |
◆ GetNumVertices()
size_t CModelDef::GetNumVertices |
( |
| ) |
const |
|
inline |
◆ GetRenderData()
◆ GetUVCoordinates()
const std::vector< CVector2D > & CModelDef::GetUVCoordinates |
( |
| ) |
const |
|
inline |
◆ GetVertices()
◆ Load()
Loads a PMD file.
- Parameters
-
filename | VFS path of .pmd file to load |
name | arbitrary name to give the model for debugging purposes (usually pathname) |
- Returns
- the model - always non-NULL
- Exceptions
-
◆ NONCOPYABLE()
◆ Save()
◆ SetRenderData()
Register renderer private data.
Use the key to distinguish between private data used by different render paths. The private data will be managed by this CModelDef object: It will be deleted when CModelDef is destructed or when private data is registered using the same key.
- Parameters
-
key | The opaque key that is used to identify the caller. The given private data can be retrieved by passing key to GetRenderData. |
data | The private data. |
postconditions : data is bound to the lifetime of this CModelDef object.
◆ SkinNormal()
Transform the given vertex's normal from the bind pose into the new pose.
- Returns
- new world-space vertex normal
◆ SkinPoint()
Transform the given vertex's position from the bind pose into the new pose.
- Returns
- new world-space vertex coordinates
◆ m_Bones
◆ m_InverseBindBoneMatrices
CMatrix3D* CModelDef::m_InverseBindBoneMatrices |
◆ m_MaxBoundsPerAnimDef
◆ m_Name
◆ m_NumBlends
size_t CModelDef::m_NumBlends |
◆ m_NumBones
size_t CModelDef::m_NumBones |
◆ m_NumFaces
size_t CModelDef::m_NumFaces |
◆ m_NumUVsPerVertex
size_t CModelDef::m_NumUVsPerVertex |
◆ m_NumVertices
size_t CModelDef::m_NumVertices |
◆ m_pBlendIndices
size_t* CModelDef::m_pBlendIndices |
◆ m_pBlends
◆ m_pFaces
◆ m_PropPoints
◆ m_pVertices
◆ m_RenderData
◆ m_UVCoordinates
std::vector<CVector2D> CModelDef::m_UVCoordinates |
◆ SkinPointsAndNormals
Transform vertices' positions and normals.
(This is equivalent to looping over SkinPoint and SkinNormal, but slightly more efficient.)
The documentation for this class was generated from the following files:
- /home/docker/jenkins/workspace/technical-docs/source/graphics/ModelDef.h
- /home/docker/jenkins/workspace/technical-docs/source/graphics/ModelDef.cpp