wiki.sine.space | sinespace

Difference between revisions of "Scripting/SUISlider"

From wiki.sine.space
Jump to: navigation, search
(Added and defined all members (14) of SUISlider)
 
(Replaced content with "This page has moved to: https://docs.sine.space/v/scripting/client-scripting/components/suislider")
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Members==
+
This page has moved to: https://docs.sine.space/v/scripting/client-scripting/components/suislider
{{ScriptFunction|void|OnValueChanged|(Closure callback);|Callback executed when the value of the slider is changed.|5=<pre></pre>}}
+
 
+
 
+
==Properties==
+
{{ScriptFunction|float|ColorMultiplier|{ get;set; }|Multiplier applied to colors (allows brightening greater then base color).|5=<pre></pre>}}
+
{{ScriptFunction|Slider.Direction|Direction|{ get;set; }|The direction of the slider, from minimum to maximum value.|5=<pre></pre>}}
+
{{ScriptFunction|SColor|DisabledColor|{ get;set; }|Disabled Color.|5=<pre></pre>}}
+
{{ScriptFunction|bool|Enabled|{ get;set; }|Whether this is visually updating or not|5=<pre></pre>}}
+
{{ScriptFunction|SColor|HighlightedColor|{ get;set; }|Highlighted Color.|5=<pre></pre>}}
+
{{ScriptFunction|bool|Interactable|{ get;set;}|Use to enable or disable the ability to interact with the slider.|5=<pre></pre>}}
+
{{ScriptFunction|float|MaxValue|{ get;set; }|The maximum allowed value of the slider.|5=<pre></pre>}}
+
{{ScriptFunction|float|MinValue|{ get;set; }|The minimum allowed value of the slider.|5=<pre></pre>}}
+
{{ScriptFunction|SColor|NormalColor|{ get;set; }|Normal Color.|5=<pre></pre>}}
+
{{ScriptFunction|float|NormalizedValue|{ get;set; }|The current value of the slider normalized into a value between 0 and 1.|5=<pre></pre>}}
+
{{ScriptFunction|SColor|PressedColor|{ get;set; }|Pressed Color.|5=<pre></pre>}}
+
{{ScriptFunction|float|Value|{ get;set; }|The current value of the slider.|5=<pre></pre>}}
+
{{ScriptFunction|bool|WholeNumbers|{ get;set; }|Should the value only be allowed to be whole numbers?|5=<pre></pre>}}
+

Latest revision as of 06:45, 19 September 2022

This page has moved to: https://docs.sine.space/v/scripting/client-scripting/components/suislider