| - Cal3D 0.11 API Reference - |
Public Member Functions | |
| 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. | |
| bool CalCoreSubMorphTargetDiffMap::appendBlendVertex | ( | int | vertexId, |
| const CalCoreSubMorphTarget::BlendVertex & | vertex | ||
| ) |
Record one blend vertex.
This function adds a blend vertex to the difference map. Vertices must be added in increasing order of ID.
| vertexId | The ID of the vertex. |
| vertex | A blend vertex. |
| bool CalCoreSubMorphTargetDiffMap::reserve | ( | int | blendVertexCount | ) | [virtual] |
Reserves memory for the blend vertices.
This function reserves memory for the blend vertices of the difference map.
| blendVertexCount | The number of blend vertices that this sub morph target should be able to hold. |
Reimplemented from CalCoreSubMorphTarget.
| 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.
| The | core submesh. |
Reimplemented from CalCoreSubMorphTarget.