Skip to content

Class

AdjacencyEvaluator

Generated GDScript class reference for GridPlacement.AdjacencyEvaluator.

Status
Current
Version
v6.3.0
Source updated
2026-10-29
Generated on
2026-10-29

6.3. These pages document the 6.3 release, where placeable is now entry (what changed) and PlacementOwner is deprecated (migration). Still on 6.2? Your version's guides ship inside the plugin itself, under addons/grid_placement/guides/; the 6.2 URLs on this site now redirect to this series.

Shared logic for evaluating adjacency requirements across different rule domains.

Source: addons/grid_placement/placement/placement_rules/helpers/adjacency_evaluator.gd

Syntax

class AdjacencyEvaluator extends RefCounted

Members

NameKindSummary
HORIZONTAL_DIRSFieldNeighbor offsets shared by every adjacency rule, so the rules agree on what "left", "above", or "diagonal" means.
VERTICAL_DIRSField
DIAGONAL_DIRSField
neighbor_dirsMethod
count_matching_neighbors_in_dirsMethod
countProperty
neighborsProperty
resolved_terrain_setProperty
resolved_terrainProperty
resolvedProperty
tile_dataProperty