Class in Zendir.Universe | Inherits from UniverseSystem
Declaration
class ExtensionSystem;Description
[DEPRECATED] THIS CLASS WILL BE REMOVED AND SHOULD NOT BE USED.
Properties
| Inherited | Description |
|---|---|
| IsEnabled | Is true if the object is currently enabled. |
| Name | The display name or tag of this object. |
Methods
| Declared | Description |
|---|---|
| GetObjectType | Returns the type of the given object, if it is an object. |
| GetRootBehaviours | Returns all universe behaviours in the simulation that are parented to the given object. If the parent is null,then all root-level behaviours are returned. |
| GetRootObjects | Returns all universe objects in the simulation that are parented to the given object. If the parent is null, thenall root-level objects are returned. |
| GetSimulationStructure | Returns the simulation structure, containing the IDs of all objects and the ownership of such objects. Thisincludes messages, models and the IDs of all objects so it can be loaded by the API easily. |
| GetSimulationTime | Returns the simulation time in seconds. |
| GetState | Returns the current simulation state as a JSON object. |
| InitializeSimulation | Initializes the simulation by updating the universe event controller. This will ensure that the simulation iscorrectly initialized and an update step is called on all components for the purpose of the saving and loadingsystem. |
| SetState | Sets the simulation state from a JSON object. |
| TickIterations | Ticks the simulation with a certain number of iterations safely, ensuring that it does not take too long tocomplete. It will also return the number of iterations completed. |