trail
A ribbon that follows a moving point.
| Field | Type | Default | Description |
|---|---|---|---|
type |
"trail" |
required | Track type. |
name |
string | Optional name, used in error messages. | |
start |
number | 0 |
When the track starts, in seconds. |
end |
number | -1 |
When the track ends, in seconds. Defaults to the end of the effect; looping effects run forever. |
at |
attach | Where the track sits. | |
material |
material | How the track is shaded. | |
length |
number | 0.3 |
Seconds of history the trail keeps. |
width |
number | 0.2 |
Width in blocks. t runs along the trail from head (0) to tail (1). |
color |
color | "#ffffff" |
Colour along the trail, head to tail. |
edge |
attach | Optional second point. The trail then sweeps the surface between at and edge, like a sword swing. |
|
min_step |
number | 0.02 |
Smallest movement that adds a point. |
