Skip to content

Class

TargetingServiceContract

Generated GDScript class reference for GridPlacement.TargetingServiceContract.

Status
Current
Version
v6.0
Source updated
Active v6.0 guide line from Grid Placement repo
Generated on
2026-09-01

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() signature (no path_manager) and the group dispatches it using [method configure_for_3d] / [method 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