Skip to content

light

thisLayer.lightOption

This category is for items specific to Light Layers.

  • all the material properties

thisLayer.lightOption.castsShadows

Returns whether the light casts shadows.

Boolean


thisLayer.lightOption.color

Returns the color value of a light.

Array (4-dimensional)


thisLayer.lightOption.coneAngle

Returns the cone angle of a light, in degrees.

Number


thisLayer.lightOption.coneFeather

Returns the cone feather value of a light as a percentage.

Number


thisLayer.lightOption.falloff

Returns the cone falloff dropdown option.

Number


thisLayer.lightOption.falloffDistance

Returns the falloff distance of a light.

Number


thisLayer.lightOption.intensity

Returns the intensity values of a light as a percentage.

Number


thisLayer.lightOption.pointOfInterest

Returns the point of interest values for a light in world space.

Array (3-dimensional)


thisLayer.lightOption.radius

Returns the radius values of a light.

Number


thisLayer.lightOption.shadowDarkness

Returns the shadow darkness value of a light as a percentage.

Number


thisLayer.lightOption.shadowDiffusion

Returns the shadow diffusion value of a light, in pixels.

Number