Class in Zendir.Classes | Inherits from UniverseModel

Declaration

class BatteryLeakageErrorModel;

Description

This class is able to perform a leakage rate on the battery that it is connected to, slowly depleting the battery over time.


Properties

DeclaredDescription
PowerLeakageRateThe leakage rate per second in Amp hours
InheritedDescription
IsEnabledIs true if the object is currently enabled.
NameThe display name or tag of this object.
ParentThe currently attached parent object.

Methods

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.