Skip to content

Class

DragServiceDependencies

Generated GDScript class reference for GridPlacement.DragServiceDependencies.

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.

Typed dependency callbacks for [DragService]. Replaces raw [Callable] members so the compiler catches signature mismatches at compile time instead of relying on runtime [method Callable.is_valid] guards. The host passes three closures with stable signatures; this class documents that contract in one place.

Source: addons/grid_placement/services/drag_service_dependencies.gd

Syntax

class DragServiceDependencies extends RefCounted

Members

NameKindSummary
has_selected_placeablePropertyReturns true when a placeable is selected for the active session.
get_brush_shapePropertyReturns the current brush shape for the active session (or -1 if none).
try_buildPropertyDispatches an object placement build for the active session.
is_validMethod