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 (replaces [Placeable]) - [TilePlacementEntry] — terrain/tile painting (replaces the internal [code]TerrainEntry[/code]) [Placeable] is kept as a deprecated alias through 6.0; removed in 6.1.
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. When empty, [method get_entry_id] falls back to [method get_display_name] so existing resources keep current behavior without migration. |
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 | |
get_entry_id | Method | |
get_editor_issues | Method | |
get_runtime_issues | Method | |
issues | Property |
Source
addons/grid_placement/placement/placement_entry.gd
Plugin docs root:gdscript/plugins/grid_placement_dev/docs