Current brush. Mutate freely. Defaults: erase, 3 m radius, 0.25 strength.
ReadonlycursorBrush outline that follows the terrain under the pointer.
ReadonlydomElement receiving pointer events.
When false, pointer events are ignored and the cursor is hidden.
ReadonlygrassField whose grassMap is painted.
Paint a Grass's
grassMapdirectly on the terrain: left-drag to apply the brush; a ring follows the pointer. Works with mesh and height-function terrain alike. Disable your camera controls while painting — they listen to the same pointer events.Example