Light sources within the Space scene.
Properties
Enabled
bool Enabled
{ get; set;}
Enable/Disable this light.
-- Disable this object's Light Source --
Space.Host.ExecutingObject.Light.Enabled = false;
Range
Get/Set the effective range of the light source.
-- Change the range of the Light --
Space.Host.ExecutingObject.Light.Range = 8.0;
Intensity
float Intensity
{ get; set;}
Get/Set the intensity of the light source. (Multiplied with the light color)
-- Get the intensity of the Light --
Space.Log("Intensity: " .. Space.Host.ExecutingObject.Light.Intensity);
Color
Get/Set the color of the light.
No example provided yet
Type
Get/Set the type of light this source is.
No example provided yet
Scripting Portal
|
|
Common
|
|
|
Key Classes
|
|
|
Helper Classes
|
|
|
Scripting samples and tutorials
|
|
|