Chris' Tutorials
Docs/Grid Placement

Class

TerrainServiceContract

Generated GDScript class reference for GridPlacement.TerrainServiceContract.

StatusDraft
Versionv6.0
UpdatedDevelopment docs generated from GDScript source

This is unreleased documentation in active development. APIs, class names, and behavior may change before the final release.

Draft — Unreleased:This page is in active development. APIs, class names, and behavior may change before the release is finalized. Use it as a preview of what's coming — not as a stable integration target.

Adapter/contract interface for the terrain placement service (6.0.0-S). 6.0.0-211: object-capability contract that the host queries instead of checking is TerrainPlacementService2D or is TerrainPlacementService3D. The hosted implementation injects the concrete service (2D or 3D) via [PlacementServiceGroup.register_terrain]; the rest of the host and the service group only ever hold the contract type. Capabilities express which dimensions the implementation supports; the factory consults them so a 3D group never silently gets attached to a 2D-only brush flow.

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

Syntax

class TerrainServiceContract extends RefCounted

Members

NameKindSummary
supported_dimensionsMethod
configureMethod
set_statesMethod
set_catalogMethod
disposeMethod

Source

addons/grid_placement/services/contracts/terrain_service_contract.gd

Plugin docs root:gdscript/plugins/grid_placement_dev/docs