Skip to content

Class

TargetingServiceContract

Generated GDScript class reference for GridPlacement.TargetingServiceContract.

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.

Adapter/contract interface for the grid targeting service (6.0.0-S). 6.0.0-211: a 3D group gets GridTargetingService3D, a 2D group gets the 2D base class. Both satisfy this contract so the host stops branching on concrete type. The 3D variant takes a different configure_for_3d() signature (no path_manager) and the group dispatches it using configure_for_3d() / configure_for_2d() on the concrete adapter; the host only sees the contract surface.

Source: addons/grid_placement/services/contracts/targeting_service_contract.gd

Syntax

class TargetingServiceContract extends RefCounted

Members

NameKindSummary
supported_dimensionsMethod
configure_for_2dMethod
configure_for_3dMethod
get_runtime_issuesMethod