|
| CalCoreSubMorphTargetDiffMap (const CalCoreSubMorphTargetDiffMap &inOther) |
|
virtual bool | reserve (int blendVertexCount) |
| Reserves memory for the blend vertices.
|
|
virtual void | setCoreSubmesh (CalCoreSubmesh *inCoreSubmesh) |
| Record the core submesh that this morph applies to.
|
|
bool | appendBlendVertex (int vertexId, const CalCoreSubMorphTarget::BlendVertex &vertex) |
| Record one blend vertex.
|
|
const CalCoreSubmesh * | getCoreSubmesh () const |
| Returns the core submesh associated with this morph.
|
|
int | getBlendVertexCount () const |
| Returns the number of blend vertices.
|
|
unsigned int | size () |
|
std::vector< BlendVertex > & | getVectorBlendVertex () |
|
const std::vector< BlendVertex > & | getVectorBlendVertex () const |
|
BlendVertex const * | getBlendVertex (int blendVertexId) |
|
const BlendVertex * | getBlendVertex (int blendVertexId) const |
|
bool | setBlendVertex (int vertexId, const BlendVertex &vertex) |
| Sets a specified blend vertex.
|
|
void | getBlendVertex (int vertexId, BlendVertex &outVertex) const |
| Returns one blend vertex.
|
|
CalMorphTargetType | getMorphTargetType () const |
| Type of this morph.
|
|
void | setMorphTargetType (CalMorphTargetType c) |
|
const unsigned int & | getMorphID () const |
| Index of this morph for its target mesh.
|
|
void | setName (const std::string &s) |
| Name property (just for convenience )
|
|
const std::string & | getName () const |
|
|
void | setMorphID (const unsigned int &i) |
|
◆ appendBlendVertex()
Record one blend vertex.
This function adds a blend vertex to the difference map. Vertices must be added in increasing order of ID.
- Parameters
-
vertexId | The ID of the vertex. |
vertex | A blend vertex. |
- Returns
- One of the following values:
- true if successful
- false if an error happened
◆ reserve()
bool CalCoreSubMorphTargetDiffMap::reserve |
( |
int | blendVertexCount | ) |
|
|
virtual |
Reserves memory for the blend vertices.
This function reserves memory for the blend vertices of the difference map.
- Parameters
-
blendVertexCount | The number of blend vertices that this sub morph target should be able to hold. |
- Returns
- One of the following values:
- true if successful
- false if an error happened
Reimplemented from CalCoreSubMorphTarget.
◆ setCoreSubmesh()
void CalCoreSubMorphTargetDiffMap::setCoreSubmesh |
( |
CalCoreSubmesh * | inCoreSubmesh | ) |
|
|
virtual |
Record the core submesh that this morph applies to.
This function associates the sub morph target with a core submesh and caches blend vertices using the difference map.
- Parameters
-
Reimplemented from CalCoreSubMorphTarget.
The documentation for this class was generated from the following files: