|
Empeld
Empeld plugin documentation.
|
Class that acts as base class for block transfer algorithms More...
Public Member Functions | |
| void | AddPressure (Vector3i pt, float amt) |
| Add pressure to a given point More... | |
Public Member Functions inherited from essentials.Systems.BlockTransfer.IReadonlyTransferSystem | |
| bool | Has (Vector3i pt) |
Protected Member Functions | |
| AbstractBlockTransfer (float createThreshold, float removalThreshold, float maxPressure, float speed) | |
| bool | CanTransferTo (Vector3i pt) |
| abstract float | GetTransferCoefficient (Vector3i pt) |
| Determines whether this instance can transfer to the specified block. More... | |
Properties | |
| IEnumerable< Vector3i > | Members [get] |
| Return all coordinates of points within our domain More... | |
| int | BlockCount [get] |
| Gets the number of blocks within the system More... | |
| int | QueueCount [get] |
| Gets the number of blocks that need to be simulated on for this iteration More... | |
| float | AveragePressure [get] |
| Gets the average of all member's pressure More... | |
| float | MaxPressure [get] |
| Gets the max pressure value throughout the system More... | |
| float | MinPressure [get] |
| Gets the minimum pressure value throughout the system More... | |
| bool | Sealed [get] |
| A system is sealed if the pressure is uniform throughout the system, with minimal variation More... | |
| float this[] | Neighbors [get] |
| Gets or sets the pressure value at a given point More... | |
Properties inherited from essentials.Systems.BlockTransfer.IReadonlyTransferSystem | |
| int | BlockCount [get] |
| float | AveragePressure [get] |
| float | MaxPressure [get] |
| float | MinPressure [get] |
| bool | Sealed [get] |
Class that acts as base class for block transfer algorithms
|
protected |
| void essentials.Systems.BlockTransfer.AbstractBlockTransfer.AddPressure | ( | Vector3i | pt, |
| float | amt | ||
| ) |
|
protected |
|
protectedpure virtual |
Determines whether this instance can transfer to the specified block.
| pt | The point |
Implemented in essentials.Systems.BlockTransfer.PressureTransferSystem, and essentials.Systems.BlockTransfer.GenericTransferSystem.
|
get |
Gets the average of all member's pressure
The average pressure.
|
get |
Gets the number of blocks within the system
The block count.
|
get |
Gets the max pressure value throughout the system
The max pressure.
|
get |
Return all coordinates of points within our domain
The members.
|
get |
Gets the minimum pressure value throughout the system
The minimum pressure.
|
get |
Gets or sets the pressure value at a given point
| pt | Point. |
|
get |
Gets the number of blocks that need to be simulated on for this iteration
The queue count.
|
get |
A system is sealed if the pressure is uniform throughout the system, with minimal variation
true if this instance is sealed; otherwise, false.