LightMaskCurtainOptions
The curtain along a light mask’s boundary: soft strips of dark air rising from the ground on the line, thinning upward into wisps.
Properties
Section titled “Properties”| Property | Type | Default value | Description |
|---|---|---|---|
color? |
ColorRepresentation |
a blue black, #0d1220 |
The dark air’s colour, drawn unlit, under the scene’s fog. |
far? |
number |
60 |
Metres from the camera past which it draws none, fading over its last quarter; the quality level’s curtainFar caps it, and the ground’s line carries the boundary beyond. Past near. |
height? |
number |
2.5 |
Metres the strips rise above the ground at their tallest while the line stands still; motion stretches them, the line’s own and velocity alike. Above 0. |
near? |
number |
3 |
Metres from the camera inside which the curtain fades out, so a player crossing the line walks through air rather than a card: none of it at half this, all of it from this out. 0 or more. |
noise? |
LightMaskCurtainNoiseOptions |
undefined |
The wisps the strips fray into. |
opacity? |
number |
0.9 |
The most of what lies behind it the curtain hides, at its densest, just above its foot, 0 to 1. |
spacing? |
number |
1 |
Metres between the strips’ joins along the line at most, before the quality level thins the tall wisps: the curtain is one unbroken wall of strips this long or shorter. A lit shape smaller than this may stand none. Above 0. |
velocity? |
readonly [number, number] |
[0, 0] |
Metres per second along x and z the strips lean with, added to the line’s own motion, which the engine reads from the mask’s change and which runs across the line alone: such as a wind along it. |