- Cal3D 0.11 API Reference -

Classes | Public Member Functions | List of all members
CalCoreSubMorphTarget Class Reference

Classes

struct  BlendVertex
 

Public Member Functions

int getBlendVertexCount ()
 Returns the number of blend vertices. More...
 
std::vector< BlendVertex > & getVectorBlendVertex ()
 Returns the blend vertex vector. More...
 
bool reserve (int blendVertexCount)
 Reserves memory for the blend vertices. More...
 
bool setBlendVertex (int vertexId, const BlendVertex &vertex)
 Sets a specified blend vertex. More...
 

Member Function Documentation

int CalCoreSubMorphTarget::getBlendVertexCount ( )

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.
std::vector< CalCoreSubMorphTarget::BlendVertex > & CalCoreSubMorphTarget::getVectorBlendVertex ( )

Returns the blend vertex vector.

This function returns the vector that contains all blend vertices of the core sub morph target instance.

Returns
A reference to the blend vertex vector.
bool CalCoreSubMorphTarget::reserve ( int  blendVertexCount)

Reserves memory for the blend vertices.

This function reserves memory for the blend vertices of the core sub morph target instance.

Parameters
blendVertexCountThe 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 happend
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
vertexIdThe ID of the vertex.
vertexThe vertex that should be set.
Returns
One of the following values:
  • true if successful
  • false if an error happend

The documentation for this class was generated from the following files:

Generated at Thu Sep 4 2014 00:32:53 by The Cal3D Team with Doxygen 1.8.7