wiki.sine.space | sinespace

Difference between revisions of "Scripting/SLight"

From wiki.sine.space
Jump to: navigation, search
(Created page with "Light sources within the Space scene. =Properties= {{ScriptFunction|bool|Enabled|{ get; set;}|Enable/Disable this light.}} {{ScriptFunction|float|Range|{ get; set;}|Get/Set t...")
(No difference)

Revision as of 12:07, 20 April 2017

Light sources within the Space scene.

Properties

Enabled

bool Enabled { get; set;}

Enable/Disable this light.

No example provided yet


Range

float Range { get; set;}

Get/Set the effective range of the light source.

No example provided yet


Intensity

float Intensity { get; set;}

Get/Set the intensity of the light source. (Multiplied with the light color)

No example provided yet


Color

SVector Color { get; set;}

Get/Set the color of the light.

No example provided yet


Type

SLightType Type { get; set;}

Get/Set the type of light this source is.

No example provided yet