SUISlider

Index

Functions Index

Function Name

void OnValueChanged (Closure callback)

Properties Index

Property Name

bool Enabled get set

bool Interactable get set

int Direction get set

float MinValue get set

float MaxValue get set

bool WholeNumbers get set

float Value get set

float NormalizedValue get set

SColor NormalColor get set

SColor HighlightedColor get set

SColor PressedColor get set

SColor DisabledColor get set

float ColorMultiplier get set

SGameObject GameObject get

Functions

OnValueChanged

void OnValueChanged (Closure callback)

Callback executed when the value of the slider is changed.

Parameter
Type
Description

Properties

Enabled

bool Enabled get set

Whether this Slider component is Enabled or not

Interactable

bool Interactable get set

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

Direction

int Direction get set

The direction of the slider (0 to 4). 0 Left To Right, 1 Right To Left, 2 Bottom To Top, 3 Top To Bottom

MinValue

float MinValue get set

The minimum allowed value of the slider.

MaxValue

float MaxValue get set

The maximum allowed value of the slider.

WholeNumbers

bool WholeNumbers get set

Should the value only be allowed to be whole numbers?

Value

float Value get set

The current value of the slider.

NormalizedValue

float NormalizedValue get set

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

NormalColor

SColor NormalColor get set

The normal color.

HighlightedColor

SColor HighlightedColor get set

The color of the control when it is highlighted.

PressedColor

SColor PressedColor get set

The color of the control when it is pressed.

DisabledColor

SColor DisabledColor get set

The color of the control when it is disabled.

ColorMultiplier

float ColorMultiplier get set

This multiplies the tint color for each transition by its value.

GameObject

SGameObject GameObject get

Property Description

Last updated

Was this helpful?