Click or drag to resize
Light Properties

The Light type exposes the following members.

Properties
  NameDescription
Public property_GameObject
Get the game object this component is attached to.
(Inherited from BaseComponent.)
Public propertyColor
Light color and strength (A field = light strength).
Public propertyDirection
Light direction, if its a directional light.
Public propertyEnabled
Is this component currently enabled.
(Inherited from BaseComponent.)
Public propertyIntensity
Light Intensity (equivilent to Color.A).
Public propertyIsDirectionalLight
Return if this light is a directional light.
Public propertyIsInfinite
Return if this light source is infinite, eg has no range and reach anywhere (like a directional light).
Public propertyName
Get / set the name of this component.
(Inherited from IComponent.)
Public propertyRange
Light range.
Public propertySpecular
Specular factor.
Top
See Also