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

Public Member Functions | |
| FCDPhysicsScene (FCDocument *document) | |
| Constructor: do not use directly. | |
| virtual | ~FCDPhysicsScene () |
| Destructor. | |
| virtual Type | GetType () const |
| Retrieves the entity type for this class. | |
| FCDPhysicsModelInstanceContainer & | GetPhysicsModelInstances () |
| Retrieves the physics model instances that are a part of this physics scene. | |
| const FCDPhysicsModelInstanceContainer & | GetPhysicsModelInstances () const |
| See above. | |
| size_t | GetPhysicsModelInstancesCount () const |
| Retrieves the number of physics model instances that are a part of this physics scene. | |
| FCDPhysicsModelInstance * | GetPhysicsModelInstance (size_t index) |
| Retrieves a specific physics model instance that is a part of tihs physics scene by index. | |
| const FCDPhysicsModelInstance * | GetPhysicsModelInstance (size_t index) const |
| See above. | |
| FCDForceFieldInstanceContainer & | GetForceFieldInstances () |
| Retrieves the physics force field instances that are a part of this physics scene. | |
| const FCDForceFieldInstanceContainer & | GetForceFieldInstances () const |
| See above. | |
| size_t | GetForceFieldInstancesCount () const |
| Retrieves the number of physics force field instances that are a part of this physics scene. | |
| FCDPhysicsForceFieldInstance * | GetForceFieldInstance (size_t index) |
| Retrieves a specific physics force field instance that is a part of tihs physics scene by index. | |
| const FCDPhysicsForceFieldInstance * | GetForceFieldInstance (size_t index) const |
| See above. | |
| FCDPhysicsModelInstance * | AddPhysicsModelInstance (FCDPhysicsModel *model=NULL) |
| Adds an instantiated physics model to this physics model. | |
| FCDPhysicsForceFieldInstance * | AddForceFieldInstance (FCDForceField *forceField=NULL) |
| Adds an instantiated force field to this physics model. | |
| const FMVector3 & | GetGravity () const |
| Retrieves the gravity magnitude and direction as a 3 dimensional vector. | |
| void | SetGravity (const FMVector3 &_gravity) |
| Set the gravity magnitude and direction as a 3 dimensional vector. | |
| const float & | GetTimestep () const |
| Retrieves the integration time step, in seconds. | |
| void | SetTimestep (float _timestep) |
| Set the integration time step, in seconds. | |
| virtual FCDEntity * | Clone (FCDEntity *clone=NULL, bool cloneChildren=false) const |
| Copies the physics scene into a clone. | |
| virtual void | CleanSubId () |
| [INTERNAL] Cleans up the sub identifiers. | |
A physics scene contains physics model instances that can run.
|
|
Constructor: do not use directly. Create new physics scenes by using FCDocument::AddPhysicsScene function.
|
|
|
Adds an instantiated force field to this physics model.
|
|
|
Adds an instantiated physics model to this physics model.
|
|
|
[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. |
|
||||||||||||
|
Copies the physics scene into a clone.
Reimplemented from FCDEntity. |
|
|
Retrieves a specific physics force field instance that is a part of tihs physics scene by index.
|
|
|
Retrieves the physics force field instances that are a part of this physics scene.
|
|
|
Retrieves the number of physics force field instances that are a part of this physics scene.
|
|
|
Retrieves the gravity magnitude and direction as a 3 dimensional vector.
|
|
|
Retrieves a specific physics model instance that is a part of tihs physics scene by index.
|
|
|
Retrieves the physics model instances that are a part of this physics scene.
|
|
|
Retrieves the number of physics model instances that are a part of this physics scene.
|
|
|
Retrieves the integration time step, in seconds.
|
|
|
Retrieves the entity type for this class. This function is part of the FCDEntity interface.
Reimplemented from FCDEntity. |
|
|
Set the gravity magnitude and direction as a 3 dimensional vector.
|
|
|
Set the integration time step, in seconds.
|
1.4.6-NO