#include <FCDController.h>
Inheritance diagram for FCDController:
Public Member Functions | |
FCDController (FCDocument *document) | |
Constructor: do not use directly. | |
virtual | ~FCDController () |
Destructor: do not use directly. | |
virtual Type | GetType () const |
Retrieves the entity class type. | |
bool | HasSkinController () const |
Retrieves whether this controller is a skin controller. | |
bool | HasMorphController () const |
Retrieves whether this controller is a morph controller. | |
FCDSkinController * | CreateSkinController () |
Sets the type of this controller to a skin controller. | |
FCDMorphController * | CreateMorphController () |
Sets the type of this controller to a morph controller. | |
FCDSkinController * | GetSkinController () |
Retrieves the skin controller. | |
const FCDSkinController * | GetSkinController () const |
See above. | |
FCDMorphController * | GetMorphController () |
Retrieves the morph controller. | |
const FCDMorphController * | GetMorphController () const |
See above. | |
FCDEntity * | GetBaseTarget () |
Retrieves the base target entity for this controller. | |
const FCDEntity * | GetBaseTarget () const |
See above. | |
FCDGeometry * | GetBaseGeometry () |
Retrieves the base target geometry for this controller. | |
const FCDGeometry * | GetBaseGeometry () const |
See above. | |
const string & | GetTargetId () const |
[INTERNAL] Retrieves the COLLADA id of the target entity. | |
virtual FUStatus | LoadFromXML (xmlNode *controllerNode) |
[INTERNAL] Reads in the <controller> element from a given COLLADA XML tree node. | |
virtual xmlNode * | WriteToXML (xmlNode *parentNode) const |
[INTERNAL] Writes out the <controller> element to the given COLLADA XML tree node. | |
FUStatus | Link () |
[INTERNAL] Links the controller entities with their many targets/influences. |
A COLLADA controller is used to influence a mesh. COLLADA defines two types of controller: skins (FCDSkinController) and morphers (FCDMorphController).
|
Constructor: do not use directly. Instead, use the FCDLibrary::AddEntity function.
|
|
Destructor: do not use directly. Instead, use the FCDLibrary::ReleaseEntity function. |
|
Sets the type of this controller to a morph controller. This function will release any previously created morpher or skin.
|
|
Sets the type of this controller to a skin controller. This function will release any previously created morpher or skin.
|
|
Retrieves the base target geometry for this controller. Controllers can be chained together. This function allows you to retrieve the base target geometry, if there is one.
|
|
Retrieves the base target entity for this controller. The base target entity may be another controller or a geometry entity. To change the base target, use the FCDMorphController::SetBaseTarget or the FCDSkinController::SetTarget functions.
|
|
Retrieves the morph controller. This pointer is only valid for skins. To verify that this is a morpher, check the HasMorphController function.
|
|
Retrieves the skin controller. This pointer is only valid for skins. To verify that this is a skin, check the HasSkinController function.
|
|
[INTERNAL] Retrieves the COLLADA id of the target entity. This value is only useful for COLLADA 1.3 backward compatibility. For more recent COLLADA documents, this value is unused.
|
|
Retrieves the entity class type. This function is a part of the FCDEntity interface.
Reimplemented from FCDEntity. |
|
Retrieves whether this controller is a morph controller.
|
|
Retrieves whether this controller is a skin controller.
|
|
[INTERNAL] Links the controller entities with their many targets/influences. This function is executed for all the controllers, after the scene graph has been imported. It is mainly used to link the skin and its bones.
|
|
[INTERNAL] Reads in the <controller> element from a given COLLADA XML tree node.
Reimplemented from FCDEntity. |
|
[INTERNAL] Writes out the <controller> element to the given COLLADA XML tree node.
Reimplemented from FCDEntity. |