occluder_2d
2D: blocks 2D light; lights with shadows cast hard shadows behind it. shape "box" (size, bottom middle on the position), "polygon" (points) or "sprite" (traced from the object's sprite outline, as a convex hull).
In scene text
occluder_2d { height 1 shape "…" size (0, 1, 0) }Add it in the Inspector (Add Component), in scene text as above, or ask your AI. Fields you leave out keep their defaults.
Fields 7
| Field | Type | Unit / range | What it does |
|---|---|---|---|
height | number | units, 0 … 10000 | Drop shadow height; zero uses sprite or shape height. |
shape | text | — | box |
size | (x, y, z) | units | Box: width, height (its bottom middle sits on the position). |
offset | (x, y, z) | units | Moves the shape from the position. |
points | list of text | — | Polygon: corners "x y" in world units from the position. |
mask | number | 1 … 65535 | Light layers it blocks (bit mask). |
enabled | true / false | — | On. |
Arcwright Beta 2 (0.4.0) · generated from the engine source (25e375c86)Something wrong or missing? Tell us