ProtectedconstructorStatic ReadonlyLumensIntensity is represented as luminous flux, in lumens. This value can be used for punctual or area light sources.
Static ReadonlyLuxIntensity is represented as irradiance, in lux. This value is used for any type of directional lights. The illuminance is assumed to be as measured perpendicular to the light source (e.g. on Earth perpendicular to the Sun).
Static ReadonlyNitsIntensity is represented as luminance, in nits. This value can only be used for area light sources. When specified in nits the light brightness will increase with the light surface area. This can be useful in rare cases when the light is representing a display, which maintains a constant brightness over an area.
Static ReadonlyWattsIntensity is represented as radiant flux, in watts. This value can be used for punctual or area light sources. When used make sure to also specify luminus efficiency of the light used, as watts cannot be used directly by the lighting system.
StaticaddAdds the flag bits to the enum value.
StaticcombineTakes an array of enum values and combines them as a single enum flag value. This assumes that the
target enum is a flag enum that can have their values combined using bitwise operators.
The array of values to be combined using bitwise-or operator.
The combined enum value.
StaticgetStaticgetStaticgetStaticgetStaticgetGets the name for the enumeration value that matches the specified enumValue.
The enumeration value.
The enumeration value or undefined if not found.
StaticgetStaticgetGets the enumeration value at the specified index.
The index.
The enumeration value or undefined if not found.
StaticgetGets the enumeration values
The enumeration values.
StatichasDetermines if the enum value has the flags set.
StatichasDetermines if the enum bits were changed from previousValue to currentValue.
StaticiterateStaticiterateIterates the enumeration values
The enumeration values.
StaticremoveRemoves the flag bits from the enum value.
StaticsplitTakes a single enum value and splits it into separated flag values set on the value. This
assumes that the target enum is a flag enum that can have their values combined using bitwise operators.
The enum value to have it's value split using bitwise-and operator.
An array of each "bit flag" set in the enum.
Determins the unit to use when specifying light intensity.