Power Info
Parent |
A actor component that provides information and mainly statistics about the power connection it is attached to.
Properties
baseProduction : Float
The base production capactiy this connection always provides.
Details
| Flags | ReadOnly RuntimeSync RuntimeParallel |
|---|---|
Display Name |
Base Production |
consumption : Float
The amount of energy the connection actually consumed in the last tick.
Details
| Flags | ReadOnly RuntimeSync RuntimeParallel |
|---|---|
Display Name |
Consumption |
dynProduction : Float
The production cpacity this connection provided last tick.
Details
| Flags | ReadOnly RuntimeSync RuntimeParallel |
|---|---|
Display Name |
Dynamic Production |
hasPower : Bool
True if the connection has satisfied power values and counts as beeing powered. (True if it has power)
Details
| Flags | ReadOnly RuntimeSync RuntimeParallel |
|---|---|
Display Name |
Has Power |
Functions
getCircuit () → circuit : Trace<PowerCircuit>
Returns the power circuit this info component is part of.
Details
Flags |
RuntimeSync RuntimeParallel MemberFunc |
Display Name |
Get Circuit |
| Name | Type | Description |
|---|---|---|
Circuit |
Trace<PowerCircuit> |
The Power Circuit this info component is attached to. |