Constructor
new LightData()
Properties:
Name | Type | Description |
---|---|---|
alpha |
number | An opacity for the emitted light, if any |
animation |
object | An animation configuration for the source |
angle |
number | The angle of emission for this point source |
bright |
number | The allowed radius of bright vision or illumination |
color |
number | A tint color for the emitted light, if any |
coloration |
number | The coloration technique applied in the shader |
contrast |
number | The amount of contrast this light applies to the background texture |
darkness |
object | A darkness range (min and max) for which the source should be active |
dim |
number | The allowed radius of dim vision or illumination |
invertColor |
boolean | Does this source invert the color of the background texture? |
gradual |
boolean | Fade the difference between bright, dim, and dark gradually? |
luminosity |
number | The luminosity applied in the shader |
saturation |
number | The amount of color saturation this light applies to the background texture |
shadows |
number | The depth of shadows this light applies to the background texture |
Extends
- DocumentData
Members
LIGHT_UNIFORM_FIELD :DocumentField
A reusable field definition for uniform fields used by LightData