SphereInBoxStackingInstructionSetup
A class in Root.Township, Alta.Inventory.
Builds the stacking layout for the sphere in box instruction: a grid of randomly rotated, slightly jittered items filling the bounds.
- Listed in Items, inventory and logic
- Inherits or implements
StackingInstructionSetup<SphereInBoxStackingInstruction> - Derived types
SphereInBoxStackingInstruction
Constructors
| Member | What it is |
|---|---|
SphereInBoxStackingInstructionSetup() | Creates a SphereInBoxStackingInstructionSetup with default values. |
Fields
Methods
| Member | What it is |
|---|---|
protected override void Setup(Bounds bounds, SphereInBoxStackingInstruction instructions) | Fills Positions and MaxQuantity with a 3D grid, bottom layer first. |