An effect source is constructed by providing configuration options.
Optional
options: BasseEffectSourceOptions = {}Options which modify the base effect source instance
Name of this global light source.
GlobalLightSource.sourceType
A custom polygon placeholder.
A ratio of dim:bright as part of the source radius
Static
sourceStatic
effectsStatic
defaultEffect source default data.
Static
_initializeStatic
_refreshStatic
EDGE_The offset in pixels applied to create soft edges.
Static
Protected
_dimThe corresponding lighting levels for dim light.
Static
Protected
_brightThe corresponding lighting levels for bright light.
Static
Protected
ANIMATIONSProtected
The corresponding animation config.
Static
Protected
_layersProtected
Layers handled by this rendered source.
An animation with flickering ratio and light intensity.
Delta time
Optional
options: { Additional options which modify the flame animation
The animation speed, from 0 to 10
The animation intensity, from 1 to 10
Reverse the animation direction
An animation with flickering ratio and light intensity
Delta time
Optional
options: { Additional options which modify the flame animation
The animation speed, from 0 to 10
The animation intensity, from 1 to 10
Noise amplification (>1) or dampening (<1)
Reverse the animation direction
A basic "pulse" animation which expands and contracts.
Delta time
Optional
options: { Additional options which modify the pulse animation
The animation speed, from 0 to 10
The animation intensity, from 1 to 10
Reverse the animation direction
Static
getStatic
get
A specialized subclass of the BaseLightSource which is used to render global light source linked to the scene.