Skip to content
Docs
Open Promoeyes

light

scenesset 6322× in templates and rigs

One light, by `type`: ambient, hemisphere, directional, point, spot or area.

light#lv-lamp-light(type=point color=#ffc27a intensity=42000 distance=900 decay=2 position="-250 215 150")

Attributes

intensitynumber6322×
typetexte.g. directionalareaambient6322×
colorcolour #rrggbb5995×
position"x y z"4562×
heightnumber1516×
widthnumber1516×
look_at"x y z"1452×
decaynumber660×
target"x y z"594×
cast_shadowtrue / false453×
groundcolour #rrggbb327×
skycolour #rrggbb327×
anglenumber323×
penumbranumber323×
distancenumber293×
helpertrue / false81×
rotation"x y z"49×
maptexte.g. image:cookie-blindsimage:cookie-causticsimage:cookie-hex28×
map_filtertexte.g. linear27×
ground-colorcolour #rrggbb13×
map_mipmapstrue / false9×
ground_colorcolour #rrggbb3×

Where it goes

Examples

light#lv-lamp-lightin animations-transitions/in-scene-ui-assembleOpen and play →
light#lv-lamp-light(type=point color=#ffc27a intensity=42000 distance=900 decay=2 position="-250 215 150")
  intensity
    0 42000
    9.00 42000
    10.60 easeInOutCubic 14000
light#kt-warmin animations-transitions/in-scene-ui-assembleOpen and play →
light#kt-warm(type=point color=#ff8a3d intensity=0 distance=500 decay=2 position="-260 160 -540")
  intensity
    0 0
    16.90 0
    17.40 easeOutCubic 9000

Used in

Templates that write light; each opens at its first use.