My Project
|
an instance of the face group: it contains the face group static data, and per-instance data, such as group to camera distance, group transform. More...
#include <SortedFaceGroups.h>
Public Member Functions | |
CFaceGroupInstance (const Matrix4 *pMat, CFaceGroup *faceGroup) | |
Public Attributes | |
float | m_fToCameraDistSq |
distance square to camera. More... | |
Matrix4 | m_transform |
transform of the face group instance. More... | |
Vector2 | m_vUVOffset |
in case there is an UV animation applied to this face group. More... | |
Vector3 | m_vUVRotate |
Vector2 | m_vUVScale |
CFaceGroup * | m_facegroup |
pointer to the data of the face group. More... | |
float | m_fAlpha |
the alpha value in [0,1] | |
bool | m_UVRgbAnim |
Bone * | m_bones |
an instance of the face group: it contains the face group static data, and per-instance data, such as group to camera distance, group transform.
please note that only a single transform matrix is supported. For skinned ParaXModel, it will be the first bone.
CFaceGroup* ParaEngine::CFaceGroupInstance::m_facegroup |
pointer to the data of the face group.
float ParaEngine::CFaceGroupInstance::m_fToCameraDistSq |
distance square to camera.
this value is calculated on the fly
Matrix4 ParaEngine::CFaceGroupInstance::m_transform |
transform of the face group instance.
Vector2 ParaEngine::CFaceGroupInstance::m_vUVOffset |
in case there is an UV animation applied to this face group.
such as transparent texture based water pools, etc. in most cases, this is (0,0).