#include <FCDMorphController.h>
Inheritance diagram for FCDMorphTarget:
Public Member Functions | |
FCDMorphTarget (FCDocument *document, FCDMorphController *parent) | |
Constructor: do not use directly. | |
virtual | ~FCDMorphTarget () |
Destructor. | |
FCDMorphController * | GetParent () |
Retrieves the morph controller which contains this target. | |
const FCDMorphController * | GetParent () const |
See above. | |
FCDGeometry * | GetGeometry () |
Retrieves the target geometry. | |
const FCDGeometry * | GetGeometry () const |
See above. | |
void | SetGeometry (FCDGeometry *geometry) |
Sets the target geometry. | |
float & | GetWeight () |
Retrieves the morphing weight. | |
const float & | GetWeight () const |
See above. | |
void | SetWeight (float _weight) |
Sets the morphing weight. | |
bool | IsAnimated () const |
Retrieves whether the morphing weight is animated. | |
FCDAnimated * | GetAnimatedWeight () |
Retrieves the animation associated with the morphing weight. | |
const FCDAnimated * | GetAnimatedWeight () const |
See above. |
A morph target is just a geometric entity with a weight assigned. The weight may be animated.
|
Constructor: do not use directly. Instead, use the FCDMorphController::AddTarget function.
|
|
Retrieves the animation associated with the morphing weight.
|
|
Retrieves the target geometry. This is what the morphed geometry should look like if the morphing weight is set to 1.0f.
|
|
Retrieves the morph controller which contains this target.
|
|
Retrieves the morphing weight.
|
|
Retrieves whether the morphing weight is animated.
|
|
Sets the target geometry. This is what the morphed geometry should look like if the morphing weight is set to 1.0f. As such, the target geometry should be similar to the base target geometry. You can verify this using the FCDMorphController::IsSimilar function.
|
|
Sets the morphing weight. This function has no impact on any animations that target the morphing weight.
|