Base class for all placement entries — objects and terrains. Carries the shared surface ([member icon], [member placement_rules], [member ignore_base_rules]) so the placement pipeline and catalog can hold one canonical type: [Array] of [PlacementEntry]. Subclasses add domain-specific fields: - [ScenePlacementEntry] — object/scene placement - [TilePlacementEntry] — terrain/tile painting (replaces the internal [code]TerrainEntry[/code]) Abstract base — never instantiated directly. Subclass this to build catalog entries (ScenePlacementEntry, TilePlacementEntry). Do not mark @tool.
Source: addons/grid_placement/placement/placement_entry.gd
Syntax
class PlacementEntry extends PlacementResourceMembers
| Name | Kind | Summary |
|---|---|---|
icon | Property | Texture icon for UI elements. |
id | Property | Stable gameplay id for saves and external references. |
placement_rules | Property | Placement rules specific to this entry. [TilePlacementEntry] stores [TilePaintRule]s here (they are [PlacementRule]s). |
ignore_base_rules | Property | When [code]true[/code], base config and profile rules are skipped; only [member placement_rules] are evaluated. |
get_display_name | Method |