Skip to content

MapSpotlightBase

Inheritance 4 ancestors · 2 descendants

Class Documentation

Edit documentation

The colour and masks of a map spotlight. See MapDynamicSpotlight for how the light is drawn.

Properties

0xe281ed56

F32 = 0
Removed in 15.21
Add documentation

No documentation available yet. Click "Add documentation" to contribute!

Color

Vec4 = [1, 1, 1, 1]
Edit documentation

Colour of the light. The red, green and blue values are multiplied by intensity; alpha is not used. The result is multiplied again by the projected texture.

Impact

U8 = 3
Edit documentation

Which kind of surface the light reaches. Bit 0x1 is environment, bit 0x2 is characters.

LightChannels

U8 = 1
Removed in 15.21 15.19
Add documentation

No documentation available yet. Click "Add documentation" to contribute!

intensity

F32 = 1
Edit documentation

Multiplier on Color. On non-PBR surfaces the lit result is clamped, so a large value turns the lit area white instead of tinting it.