wiki.sine.space | sinespace

Scripting/SUISlider

From wiki.sine.space
Revision as of 11:54, 18 December 2020 by Voidtech (Talk | contribs) (Added and defined all members (14) of SUISlider)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Members

OnValueChanged

void OnValueChanged (Closure callback);

Callback executed when the value of the slider is changed.



Properties

ColorMultiplier

float ColorMultiplier { get;set; }

Multiplier applied to colors (allows brightening greater then base color).


Direction

Slider.Direction Direction { get;set; }

The direction of the slider, from minimum to maximum value.


DisabledColor

SColor DisabledColor { get;set; }

Disabled Color.


Enabled

bool Enabled { get;set; }

Whether this is visually updating or not


HighlightedColor

SColor HighlightedColor { get;set; }

Highlighted Color.


Interactable

bool Interactable { get;set;}

Use to enable or disable the ability to interact with the slider.


MaxValue

float MaxValue { get;set; }

The maximum allowed value of the slider.


MinValue

float MinValue { get;set; }

The minimum allowed value of the slider.


NormalColor

SColor NormalColor { get;set; }

Normal Color.


NormalizedValue

float NormalizedValue { get;set; }

The current value of the slider normalized into a value between 0 and 1.


PressedColor

SColor PressedColor { get;set; }

Pressed Color.


Value

float Value { get;set; }

The current value of the slider.


WholeNumbers

bool WholeNumbers { get;set; }

Should the value only be allowed to be whole numbers?