|
|
(4 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
− | =Properties=
| + | This page has moved to: https://docs.sine.space/v/scripting/client-scripting/components/saudioreactivelight |
− | | + | |
− | {{ScriptFunction|bool|Enabled|{get; set;}|Returns true if the Audio Reactive Light Enabled.|5=
| + | |
− | local Object = Space.Scene.Find("Audio Source")<br>
| + | |
− | Space.Log(Object.AudioReactiveLight.Enabled)<br>
| + | |
− | ''-- print true.''
| + | |
− | }}
| + | |
− | | + | |
− | {{ScriptFunction|SLight|Target|{get; set;}|Returns true if the light target Enabled.|5=
| + | |
− | local Object = Space.Scene.Find("Audio Source")<br>
| + | |
− | Space.Log(Object.AudioReactiveLight.Target.Enabled)
| + | |
− | }}
| + | |
− | | + | |
− | {{ScriptFunction|bool|Range|{get; set;}|Returns true if Range Enabled.|5=
| + | |
− | local Object = Space.Scene.Find("Audio Source")<br>
| + | |
− | Space.Log(Object.AudioReactiveLight.Range)
| + | |
− | }}
| + | |
− | | + | |
− | {{ScriptFunction|float|MinRange|{get; set;}|Returns MinRange value of the Audio Reactive Light.|5=
| + | |
− | local Object = Space.Scene.Find("Audio Source")<br>
| + | |
− | Space.Log(Object.AudioReactiveLight.MinRange)
| + | |
− | }}
| + | |
− | | + | |
− | {{ScriptFunction|float|MaxRange|{get; set;}|Returns MaxRange value of the Audio Reactive Light.|5=
| + | |
− | local Object = Space.Scene.Find("Audio Source")<br>
| + | |
− | Space.Log(Object.AudioReactiveLight.MaxRange)
| + | |
− | }}
| + | |
− | | + | |
− | {{ScriptFunction|bool|AnimateColor|{get; set;}|Returns true if AnimateColor Enabled.|5=
| + | |
− | local Object = Space.Scene.Find("Audio Source")<br>
| + | |
− | Space.Log(Object.AudioReactiveLight.AnimateColor)
| + | |
− | }}
| + | |
− | | + | |
− | {{ScriptFunction|SColor|MinColor|{get; set;}|Returns MinColor value of the Audio Reactive Light.|5=
| + | |
− | local Object = Space.Scene.Find("Audio Source")<br>
| + | |
− | Space.Log(Object.AudioReactiveLight.MinColor)
| + | |
− | }}
| + | |
− | | + | |
− | {{ScriptFunction|SColor|MaxColor|{get; set;}|Returns MaxColor value of the Audio Reactive Light.|5=
| + | |
− | local Object = Space.Scene.Find("Audio Source")<br>
| + | |
− | Space.Log(Object.AudioReactiveLight.MaxColor)
| + | |
− | }}
| + | |
− | | + | |
− | {{ScriptFunction|bool|Intensity|{get; set;}|Returns true if Intensity Enabled.|5=
| + | |
− | local Object = Space.Scene.Find("Audio Source")<br>
| + | |
− | Space.Log(Object.AudioReactiveLight.Intensity)
| + | |
− | }}
| + | |
− | | + | |
− | | + | |
− | {{ScriptFunction|float|MinIntensity|{get; set;}|Returns MinIntensity value of the Audio Reactive Light.|5=
| + | |
− | local Object = Space.Scene.Find("Audio Source")<br>
| + | |
− | Space.Log(Object.AudioReactiveLight.MinIntensity)
| + | |
− | }}
| + | |
− | | + | |
− | {{ScriptFunction|float|MaxIntensity|{get; set;}|Returns MaxIntensity value of the Audio Reactive Light.|5=
| + | |
− | local Object = Space.Scene.Find("Audio Source")<br>
| + | |
− | Space.Log(Object.AudioReactiveLight.MaxIntensity)
| + | |
− | }}
| + | |
− | | + | |
− | | + | |
− | | + | |
− | {{Scripting Navbox}}
| + | |