CAMorph Class Reference

#include <c4d_posemorphtagdata.h>

Public Member Functions

Bool IsPostDeform ()
 

Name

String GetName ()
 
void SetName (const String &name)
 

Morph Node

CAMorphNodeGetFirst ()
 

Target

BaseList2DGetTarget (BaseDocument *doc)
 

Strength

void SetStrength (Float strength)
 
Float GetStrength ()
 

Detailed Description

CAMorph class contains the data for each morph. It has to be retrieved from the CAPoseMorphTag.

See also
CAMorphNode for an example.

Member Function Documentation

◆ GetName()

String GetName ( )

Retrieves the name of the morph.

Returns
The name of the morph.

◆ SetName()

void SetName ( const String name)

Sets the name of the morph.

Parameters
[in]nameThe new name of the morph.

◆ GetFirst()

CAMorphNode* GetFirst ( )

Retrieves the first node of the morph.

Returns
The first morph node. The tag owns the pointed morph node.

◆ GetTarget()

BaseList2D* GetTarget ( BaseDocument doc)

Retrieves the target of the morph.

Parameters
[in]docThe document containing the morph tag.
Returns
The target of the morph. The tag owns the pointed object.

◆ SetStrength()

void SetStrength ( Float  strength)

Sets the strength of the morph.

Parameters
[in]strengthThe new strength of the morph.

◆ GetStrength()

Float GetStrength ( )

Retrieves the strength of the morph.

Returns
The strength of the morph.

◆ IsPostDeform()

Bool IsPostDeform ( )

Retrieves if the morph is applied at PostDeform.

Returns
Morph is post-deform mode.