#include <FCDTargetedEntity.h>
Inheritance diagram for FCDTargetedEntity:
Public Member Functions | |
FCDTargetedEntity (FCDocument *document, const char *baseId) | |
Constructor: do not use directly. | |
virtual | ~FCDTargetedEntity () |
Destructor: do not use directly. | |
bool | HasTarget () const |
Retrieves whether a target is defined for this entity. | |
FCDSceneNode * | GetTargetNode () |
Retrieves the target visual scene node for this entity. | |
const FCDSceneNode * | GetTargetNode () const |
See above. | |
void | SetTargetNode (FCDSceneNode *target) |
Sets the target visual scene node for this entity. | |
FUStatus | LinkTarget (FCDSceneNode *sceneRoot) |
[INTERNAL] Links the entity with its target. | |
Protected Member Functions | |
const string & | GetTargetId () |
[INTERNAL] Retrieves the COLLADA id of the target entity. | |
void | SetTargetId (const string &_targetId) |
[INTERNAL] Sets the COLLADA id of the target entity. | |
void | SetTargetId (const char *_targetId) |
See above. |
COLLADA doesn't have targeted entity. Therefore: the behavior of a targeted entity is application-defined.
This class is used to support 3dsMax's targeted cameras and lights and we also plan to support Maya's targeted cameras and lights.
|
Constructor: do not use directly. Instead, create objects of the up-classes.
|
|
Destructor: do not use directly. Instead, release objects through their libraries or their parent entities. |
|
[INTERNAL] Retrieves the COLLADA id of the target entity. The actual resolution of the COLLADA id into a visual scene node happens during the LinkTarget function.
|
|
Retrieves the target visual scene node for this entity.
|
|
Retrieves whether a target is defined for this entity.
|
|
[INTERNAL] Links the entity with its target. This function is used during the import of a COLLADA document.
|
|
[INTERNAL] Sets the COLLADA id of the target entity. This function is used during the import of a COLLADA document. The actual resolution of the COLLADA id into a visual scene node happens during the LinkTarget function.
|
|
Sets the target visual scene node for this entity.
|