Class in Zendir.Universe | Inherits from UniverseSystem

Declaration

class ExtensionSystem;

Description

[DEPRECATED] THIS CLASS WILL BE REMOVED AND SHOULD NOT BE USED.


Properties

InheritedDescription
IsEnabledIs true if the object is currently enabled.
NameThe display name or tag of this object.

Methods

DeclaredDescription
GetObjectTypeReturns the type of the given object, if it is an object.
GetRootBehavioursReturns 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.
GetRootObjectsReturns all universe objects in the simulation that are parented to the given object. If the parent is null, thenall root-level objects are returned.
GetSimulationStructureReturns 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.
GetSimulationTimeReturns the simulation time in seconds.
GetStateReturns the current simulation state as a JSON object.
InitializeSimulationInitializes 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.
SetStateSets the simulation state from a JSON object.
TickIterationsTicks 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.