Skip to content

Class

BrushShapeBar

Generated GDScript class reference for GridPlacement.BrushShapeBar.

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.

Shared single/line/rectangle/fill brush selector for the placement panel. One row of shape buttons used by BOTH routes: terrain shapes in Terrain route, the visible category's defaults or selected placeable's resolved tools in Objects route. Shows itself only when there is a choice (more than one shape) in a placement mode; otherwise it hides so single-tool selections keep a clean panel. Lives inside the PlaceRouterUI hotbar template, which binds it via [method bind_router].

Source: addons/grid_placement/ui/brush/brush_shape_bar.gd

Syntax

class BrushShapeBar extends PlacementControl

Members

NameKindSummary
canonical_tool_orderMethod
bind_routerMethod
resolve_placement_dependenciesMethod
resolve_placement_runtimeMethod
sync_shapesMethod
available_shapesMethod