StackingInstructionSetup
An abstract class in Root.Township, Alta.Inventory.
Base for working out where stacked copies of an item go inside some bounds, from StackingInstructions. Used by StorageOrganizer.
- Listed in Items, inventory and logic
- Derived types
StackingInstructionSetup<T>
Constructors
| Member | What it is |
|---|---|
protected StackingInstructionSetup() | Creates a StackingInstructionSetup with default values. |
Properties
Methods
| Member | What it is |
|---|---|
abstract void Setup(Bounds bounds, Matrix4x4 localToWorld, StackingInstructions instructions) | Computes the positions for the bounds and instructions, then the world positions. |
void SetupPositions(Matrix4x4 localToWorld) | Recomputes the world positions from a local-to-world matrix. |
Used in
Members of other types that take, return or hold a StackingInstructionSetup: