Properties
Enabled
Returns true if the Audio Reactive Light Enabled.
local Object = Space.Scene.Find("Audio Source")
Space.Log(Object.AudioReactiveLight.Enabled)
-- print true.
Target
Returns true if the light target Enabled.
local Object = Space.Scene.Find("Audio Source")
Space.Log(Object.AudioReactiveLight.Target.Enabled)
Range
Returns true if Range Enabled.
local Object = Space.Scene.Find("Audio Source")
Space.Log(Object.AudioReactiveLight.Range)
MinRange
float MinRange
{get; set;}
Returns MinRange value of the Audio Reactive Light.
local Object = Space.Scene.Find("Audio Source")
Space.Log(Object.AudioReactiveLight.MinRange)
MaxRange
float MaxRange
{get; set;}
Returns MaxRange value of the Audio Reactive Light.
local Object = Space.Scene.Find("Audio Source")
Space.Log(Object.AudioReactiveLight.MaxRange)
AnimateColor
bool AnimateColor
{get; set;}
Returns true if AnimateColor Enabled.
local Object = Space.Scene.Find("Audio Source")
Space.Log(Object.AudioReactiveLight.AnimateColor)
MinColor
Returns MinColor value of the Audio Reactive Light.
local Object = Space.Scene.Find("Audio Source")
Space.Log(Object.AudioReactiveLight.MinColor)
MaxColor
Returns MaxColor value of the Audio Reactive Light.
local Object = Space.Scene.Find("Audio Source")
Space.Log(Object.AudioReactiveLight.MaxColor)
Intensity
bool Intensity
{get; set;}
Returns true if Intensity Enabled.
local Object = Space.Scene.Find("Audio Source")
Space.Log(Object.AudioReactiveLight.Intensity)
MinIntensity
float MinIntensity
{get; set;}
Returns MinIntensity value of the Audio Reactive Light.
local Object = Space.Scene.Find("Audio Source")
Space.Log(Object.AudioReactiveLight.MinIntensity)
MaxIntensity
float MaxIntensity
{get; set;}
Returns MaxIntensity value of the Audio Reactive Light.
local Object = Space.Scene.Find("Audio Source")
Space.Log(Object.AudioReactiveLight.MaxIntensity)
Scripting Portal
|
|
Common
|
|
|
Key Classes
|
|
|
Helper Classes
|
|
|
Scripting samples and tutorials
|
|
|