Enum FlexalonInteractable.PlacementModes
- Namespace
- Flexalon
- Assembly
- Flexalon.dll
How a dragged object is inserted into a layout.
public enum FlexalonInteractable.PlacementModes
Fields
End = 2Insert at the end of the layout.
FirstOpenSlot = 5Use the first open placement in layout order, without requiring pointer overlap.
NearestOpenSlot = 4Use the nearest overlapping placement that is open for the entire item.
NearestSibling = 0Insert beside the nearest sibling. This is the default for new interactables.
NearestSlot = 3Use the nearest overlapping placement, allowing the layout to shift other items.
ReplaceNearestSlot = 7Use the nearest open placement or place this item and pick up one eligible occupant until another click. With external input, the occupant is not picked up and normal layout collision rules apply.
Start = 1Insert at the start of the layout.
SwapNearestSlot = 6Use the nearest open placement or exchange slots with one occupant when both resulting placements fit. The occupant moves to a placement covering this item's starting slot (see DragSwapSlot), shifting if it is larger, or to this item's starting parent if it had no slot.