Skip to content
ct

Class

TargetingServiceContract

Generated GDScript class reference for GridPlacement.TargetingServiceContract.

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.

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