Skip to content

Class

PlaceableSequenceFactory

Generated GDScript class reference for GridPlacement.PlaceableSequenceFactory.

Status
Current
Version
v6.0
Source updated
Active v6.0 guide line from Grid Placement repo
Generated on
2026-09-01

Factory utilities for creating and normalizing PlaceableSequence collections. This factory implements the "Helper Factory (Suggested)" pattern mentioned in the UI PlaceableSequence guide documentation. It provides convenient methods for:

  • Converting individual Placeables into single-item sequences
  • Normalizing mixed arrays of Placeables and PlaceableSequences
  • Reducing UI wiring code when working with PlaceableList components Usage Context: These utilities are designed for cases where you have existing ScenePlacementEntry collections but need to use them with PlaceableSequenceSelectionUI or PlaceableList components that expect PlaceableSequence objects. Note: Currently not used in the main plugin demos, but provided as convenience utilities for game developers who need sequence normalization.

Source: addons/grid_placement/placeables/placeable_sequence_factory.gd

Syntax

class PlaceableSequenceFactory extends RefCounted

Members

NameKindSummary
from_placeablesMethod
ensure_sequencesMethod