|
void | setMorphID (const unsigned int &i) |
|
◆ getBlendVertex()
void CalCoreSubMorphTarget::getBlendVertex |
( |
int |
vertexId, |
|
|
BlendVertex & |
outVertex |
|
) |
| const |
Returns one blend vertex.
This function returns a blend vertex from this sub morph target.
- Parameters
-
vertexId | The ID of the vertex. |
outVertex | Receives the blend vertex. |
◆ getBlendVertexCount()
int CalCoreSubMorphTarget::getBlendVertexCount |
( |
| ) |
const |
Returns the number of blend vertices.
This function returns the number of blend vertices in the core sub morph target instance.
- Returns
- The number of blend vertices.
◆ getCoreSubmesh()
const CalCoreSubmesh * CalCoreSubMorphTarget::getCoreSubmesh |
( |
| ) |
const |
Returns the core submesh associated with this morph.
This function returns a pointer to the core submesh.
- Returns
- The number of blend vertices.
◆ reserve()
bool CalCoreSubMorphTarget::reserve |
( |
int |
blendVertexCount | ) |
|
|
virtual |
Reserves memory for the blend vertices.
This function reserves memory for the blend vertices of the core sub morph target instance.
- Parameters
-
blendVertexCount | The number of blend vertices that this core sub morph target instance should be able to hold. |
- Returns
- One of the following values:
- true if successful
- false if an error happened
Reimplemented in CalCoreSubMorphTargetDiffMap.
◆ setBlendVertex()
bool CalCoreSubMorphTarget::setBlendVertex |
( |
int |
blendVertexId, |
|
|
const BlendVertex & |
blendVertex |
|
) |
| |
Sets a specified blend vertex.
This function sets a specified blend vertex in the core sub morph target instance.
- Parameters
-
vertexId | The ID of the vertex. |
vertex | The vertex that should be set. |
- Returns
- One of the following values:
- true if successful
- false if an error happened
◆ setCoreSubmesh()
void CalCoreSubMorphTarget::setCoreSubmesh |
( |
CalCoreSubmesh * |
inCoreSubmesh | ) |
|
|
virtual |
Record the core submesh that this morph applies to.
This function associates the sub morph target with a core submesh.
- Parameters
-
Reimplemented in CalCoreSubMorphTargetDiffMap.
The documentation for this class was generated from the following files: