Add a Light.
name | type | arguments | Default | description |
---|---|---|---|---|
x | number | <optional> | 0 |
The horizontal position of the Light. |
y | number | <optional> | 0 |
The vertical position of the Light. |
radius | number | <optional> | 128 |
The radius of the Light. |
rgb | number | <optional> | 0xffffff |
The integer RGB color of the light. |
intensity | number | <optional> | 1 |
The intensity of the Light. |
The Light that was added.