#include <FCDPhysicsModelInstance.h>
Inheritance diagram for FCDPhysicsModelInstance:

Public Member Functions | |
| FCDPhysicsModelInstance (FCDocument *document) | |
| Constructor: do not use directly. | |
| virtual | ~FCDPhysicsModelInstance () |
| Destructor. | |
| virtual Type | GetType () const |
| Retrieves the entity type for this class. | |
| DEPRECATED (3.05A, GetInstanceCount and GetInstance(index)) void GetInstances() const | |
| Retrieves all the instances from this physics model instance. | |
| size_t | GetInstanceCount () const |
| Retrieves the number of instances from this physics model instance. | |
| FCDEntityInstance * | GetInstance (size_t index) |
| Retrieves a specified instance from this physics model instance by index. | |
| const FCDEntityInstance * | GetInstance (size_t index) const |
| See above. | |
| FCDPhysicsRigidBodyInstance * | AddRigidBodyInstance (FCDPhysicsRigidBody *rigidBody=NULL) |
| Adds an instantiated rigid body to this physics model instance. | |
| FCDPhysicsRigidConstraintInstance * | AddRigidConstraintInstance (FCDPhysicsRigidConstraint *rigidConstraint=NULL) |
| Adds an instantiated rigid constraint to this physics model instance. | |
| FCDPhysicsForceFieldInstance * | AddForceFieldInstance (FCDForceField *forceField=NULL) |
| Adds an instantiated force field to this physics model instance. | |
| DEPRECATED (3.05A, instance->Release() or SAFE_RELEASE(instance)) bool RemoveInstance(FCDEntityInstance *instance) | |
| Removes and deletes the instance from the model. | |
| virtual FCDEntityInstance * | Clone (FCDEntityInstance *clone=NULL) const |
| Copies the physics model instance into a clone. | |
| virtual void | CleanSubId (FUSUniqueStringMap *parentStringMap) |
| [INTERNAL] Cleans up the sub identifiers. | |
|
|
Constructor: do not use directly. Create new physics models using the FCDPhysicsModel::AddPhysicsModelInstance function.
|
|
|
Adds an instantiated force field to this physics model instance.
|
|
|
Adds an instantiated rigid body to this physics model instance.
|
|
|
Adds an instantiated rigid constraint to this physics model instance.
|
|
|
[INTERNAL] Cleans up the sub identifiers. The sub identifiers must be unique with respect to its parent. This method corrects the sub ids if there are conflicts.
Reimplemented from FCDEntityInstance. |
|
|
Copies the physics model instance into a clone.
Reimplemented from FCDEntityInstance. |
|
||||||||||||
|
Removes and deletes the instance from the model.
|
|
||||||||||||
|
Retrieves all the instances from this physics model instance.
|
|
|
Retrieves a specified instance from this physics model instance by index.
|
|
|
Retrieves the number of instances from this physics model instance.
|
|
|
Retrieves the entity type for this class. This function is part of the FCDEntity interface.
Reimplemented from FCDEntityInstance. |
1.4.6-NO