Skip to content

Class

TargetingServiceContract

Generated GDScript class reference for GridPlacement.TargetingServiceContract.

Status
Current
Version
v6.2.1
Source updated
2026-09-24
Generated on
2026-10-22

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 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