light
thisLayer.lightOption
This category is for items specific to Light Layers.
- all the material properties
Attributes
Section titled “Attributes”Light.castsShadows
Section titled “Light.castsShadows”thisLayer.lightOption.castsShadows
Description
Section titled “Description”Returns whether the light casts shadows.
Boolean
Light.color
Section titled “Light.color”thisLayer.lightOption.color
Description
Section titled “Description”Returns the color value of a light.
Array (4-dimensional)
Light.coneAngle
Section titled “Light.coneAngle”thisLayer.lightOption.coneAngle
Description
Section titled “Description”Returns the cone angle of a light, in degrees.
Number
Light.coneFeather
Section titled “Light.coneFeather”thisLayer.lightOption.coneFeather
Description
Section titled “Description”Returns the cone feather value of a light as a percentage.
Number
Light.falloff
Section titled “Light.falloff”thisLayer.lightOption.falloff
Description
Section titled “Description”Returns the cone falloff dropdown option.
Number
Light.falloffDistance
Section titled “Light.falloffDistance”thisLayer.lightOption.falloffDistance
Description
Section titled “Description”Returns the falloff distance of a light.
Number
Light.intensity
Section titled “Light.intensity”thisLayer.lightOption.intensity
Description
Section titled “Description”Returns the intensity values of a light as a percentage.
Number
Light.pointOfInterest
Section titled “Light.pointOfInterest”thisLayer.lightOption.pointOfInterest
Description
Section titled “Description”Returns the point of interest values for a light in world space.
Array (3-dimensional)
Light.radius
Section titled “Light.radius”thisLayer.lightOption.radius
Description
Section titled “Description”Returns the radius values of a light.
Number
Light.shadowDarkness
Section titled “Light.shadowDarkness”thisLayer.lightOption.shadowDarkness
Description
Section titled “Description”Returns the shadow darkness value of a light as a percentage.
Number
Light.shadowDiffusion
Section titled “Light.shadowDiffusion”thisLayer.lightOption.shadowDiffusion
Description
Section titled “Description”Returns the shadow diffusion value of a light, in pixels.
Number