Chris' Tutorials
Docs/Grid Placement

Class

PlaceableSequenceFactory

Generated GDScript class reference for GridPlacement.PlaceableSequenceFactory.

StatusDraft
Versionv6.0
UpdatedDevelopment docs generated from GDScript source

This is unreleased documentation in active development. APIs, class names, and behavior may change before the final release.

Draft — Unreleased:This page is in active development. APIs, class names, and behavior may change before the release is finalized. Use it as a preview of what's coming — not as a stable integration target.

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
converted_sequencesProperty
single_item_sequenceProperty
ensure_sequencesMethod
normalized_sequencesProperty
wrapper_sequenceProperty

Source

addons/grid_placement/placeables/placeable_sequence_factory.gd

Plugin docs root:gdscript/plugins/grid_placement_dev/docs