beam
A beam between two points.
| Field | Type | Default | Description |
|---|---|---|---|
type |
"beam" |
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. | |
to |
attach | End point. Defaults to the target; without one the beam fires length blocks forward. |
|
length |
number | 16 |
Length when there is no end point. |
width |
number | 0.4 |
Width in blocks. t runs along the beam, start to end. |
color |
color | "#66ccff" |
Outer colour. |
core_color |
color | "#ffffff" |
Core colour. |
core |
number | 0.35 |
Core width as a fraction of the beam. |
wobble |
number | 0 |
Sideways wobble in blocks. |
wobble_speed |
number | 6 |
Wobble speed. |
scroll |
number | 2 |
Texture scroll along the beam per second. |
grow |
number | 1 |
How much of the beam has extended, 0..1. |
raycast |
boolean | false |
Stop the beam at the first block it hits. |
segments |
integer | 24 |
Segments along the beam. |
