Press-and-hold paint for 3D socket and single-cell entries. The stroke owns the sweep: each newly reached mount stamps one piece through the service, invalid mounts are skipped and their first issue recorded, and valid ones repose the hover preview onto the stamped mount so it flips red. The host owns the cursor picks (which mount the pointer means), the feedback puff, and the action log; this stroke owns what commits.
Source: addons/grid_placement/systems/building/3d/object_paint_stroke_3d.gd
Syntax
class ObjectPaintStroke3D extends RefCountedMembers
| Name | Kind | Summary |
|---|---|---|
KIND_NONE | Field | Stroke kinds. Each names the mount a sweep step stamps. |
KIND_CELL | Field | |
KIND_FACE | Field | |
KIND_CORNER | Field | |
kind_for_entry | Method | |
enabled_for | Method | |
begin | Method | |
offer | Method | |
is_active | Method | |
kind | Method | |
is_capped | Method | |
attempted | Method | |
stamped | Method | |
last_success | Method | |
last_report | Method | |
failures | Method | |
finish | Method |
Tutorials built on Grid Placement
- Godot multiplayer grid placement: one host, four sessions
- Godot 2D grid building system: paint, place, save
- Godot 3D grid building system: the runtime loop
- Godot 4 grid-building plugins: build mode vs editor tools
- 3D room placement in Godot: build rooms and stack storeys
- 3D grid placement in Godot 4: full setup tutorial
- Snap to a TileMap in Godot: 2D grid placement
- How to make a farming system in Godot
- How to snap objects to a 3D grid in Godot