Skip to content

IMapLightUpdater

Interface

Class Documentation

Edit documentation

A light updater: a rule that changes a dynamic light after the light is created, such as its colour, its intensity, its position or its rotation. A light takes its updaters from the MapLightUpdaterType in its UpdaterType. Without an UpdaterType, nothing changes the light after it is set up.

The client calls each updater of the list with the light and the elapsed time. How often the calls happen was not identified. An updater has one form for point lights and one for spotlights, and an updater that has no point light form does nothing on a point light.

Updater Point light Spotlight
ColorLogicDriverLightUpdater Colour from a driver Colour from a driver
IntensityLogicDriverLightUpdater Intensity from a driver Intensity from a driver
FlickerMapLightUpdater Random flicker and jitter Random flicker and jitter
RotateMapLightUpdater No effect Constant rotation

Referenced by 1 class · 1 property