Class in Zendir.Universe | Inherits from UniverseModel

Declaration

class StateModel;

Description

The state properties model is able to store a range of states and be able to integrate over these states during the simulation. It is common that the state properties is added to a spacecraft for integrating through a state and is able to manage the base state data for the object itself.


Properties

DeclaredDescription
CountThe number of properties within the cache
IntegratorTypeThe integrator type used to integrate the state. Depending onthe type, this will integrate the state differently.
InheritedDescription
IsEnabledIs true if the object is currently enabled.
NameThe display name or tag of this object.
ParentThe currently attached parent object.

Methods

DeclaredDescription
DeleteAttempts to delete a state property from the cache. This willremove it if it does exist.
HasStateReturns whether the state exists in the cache or not. This is usefulfor checking if a state exists before trying to access it.
IntegrateIntegrates the current state of the object using the current integrator typeand the integrable object.
InheritedDescription
DestroyRemoves the current object from the simulation.
FindParentWithIDReturns an attached parent that satisfies the specified ID.
FindParentWithTypeReturns an attached parent that satisfies the specified type.
FindRootWithIDReturns a root object that satisfies the specified ID.
FindRootWithTypeReturns a root object that satisfies the specified type.