Skip to content

Class

PlacementRuleResolver

Generated GDScript class reference for GridPlacement.PlacementRuleResolver.

Status
Draft
Version
v6.0
Updated
Development docs generated from GDScript source

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

Single composition authority for 2D rule tiers: global -> group -> entry. Both the object path (PlacementValidator/IndicatorManager) and the terrain path (PlacementValidationPipeline) resolve through here; the executors stay separate where their runtime needs differ. Resolution is pure composition — no validation, no indicators, no scene access. Ignore semantics: an ENTRY-level ignore keeps only that entry's own rules (the entry author's explicit choice). A PROFILE-level ignore drops only the global/base tier — sibling-profile and entry rules survive, so one profile can never silently erase rules supplied by unrelated profiles.

Source: addons/grid_placement/placement/placement_rules/placement_rule_resolver.gd

Syntax

class PlacementRuleResolver extends RefCounted

Members

NameKindSummary
resolve_objectMethod
resolvedProperty
resolve_terrainMethod
resolvedProperty
gate_ruleProperty
any_profile_ignores_baseMethod