Light Properties |
The Light type exposes the following members.
Name | Description | |
---|---|---|
![]() | _GameObject |
Get the game object this component is attached to.
(Inherited from BaseComponent.) |
![]() | Color |
Light color and strength (A field = light strength).
|
![]() | Direction |
Light direction, if its a directional light.
|
![]() | Enabled |
Is this component currently enabled.
(Inherited from BaseComponent.) |
![]() | Intensity |
Light Intensity (equivilent to Color.A).
|
![]() | IsDirectionalLight |
Return if this light is a directional light.
|
![]() | IsInfinite |
Return if this light source is infinite, eg has no range and reach anywhere (like a directional light).
|
![]() | Name |
Get / set the name of this component.
(Inherited from IComponent.) |
![]() | Range |
Light range.
|
![]() | Specular |
Specular factor.
|