Skip to content

Interlude.Tick.Extra.DebugUI.Slider

interludesoftware.tick

Interlude.Tick.Extra.DebugUI

Slider Class

public static class Slider

Inheritance System.Object → Slider

Methods

Slider.Do(UI, string, float, float, float) Method

Draws a themed slider track and thumb for the given value range. Returns true when the value changes.

public static bool Do(Interlude.Tick.UI ui, string id, ref float value, float min, float max);

Parameters

ui UI

id System.String

value System.Single

min System.Single

max System.Single

Returns

System.Boolean

Slider.DoLabelled(UI, string, string, float, float, float) Method

Draws a label column followed by a themed slider. Returns true when the value changes.

public static bool DoLabelled(Interlude.Tick.UI ui, string id, string label, ref float value, float min, float max);

Parameters

ui UI

id System.String

label System.String

value System.Single

min System.Single

max System.Single

Returns

System.Boolean