PowerQuest 0.19.0
Loading...
Searching...
No Matches
ISlider Interface Reference

Detailed Description

Gui Slider

    Slider.Volume.Clickable = false;            
    Slider.Volume.Text = "Volume";
    Audio.Volume = Slider.Volume.Ratio;

Inherits IGuiControl.

Properties

string Description [get, set]
 
string Cursor [get, set]
 
string Text [get, set]
 
float Ratio [get, set]
 
string AnimBar [get, set]
 
string AnimBarHover [get, set]
 
string AnimBarClick [get, set]
 
string AnimBarOff [get, set]
 
string AnimHandle [get, set]
 
string AnimHandleHover [get, set]
 
string AnimHandleClick [get, set]
 
string AnimHandleOff [get, set]
 
Color Color [get, set]
 
Color ColorHover [get, set]
 
Color ColorClick [get, set]
 
Color ColorOff [get, set]
 
bool Clickable [get, set]
 
float KeyboardIncrement [get, set]
 
- Properties inherited from IGuiControl
MonoBehaviour Instance [get]
 Access to the actual game object component in the scene. Note that controls themselves can be cast to their component type if known.
 
bool Visible [get, set]
 Sets the control visible invisible the control.
 
Vector2 Position [get, set]
 Gets/Sets the position of the control. Note that this will be overridden if using AlignTo or FitTo component.
 
bool Focused [get]
 Gets/Sets whether this control is focused (ie: the mouse is hovering over it, or it's selected with keyboard)
 
bool HasKeyboardFocus [get, set]
 Gets/Sets whether this control has the current keyboard focus (can also be used for specifying which control has 'controller' focus)
 

Additional Inherited Members

- Public Member Functions inherited from IGuiControl
void Show ()
 Shows the control.
 
void Hide ()
 Hides the control.
 
void SetPosition (float x, float y)
 Sets the position of the control. Note that this will be overridden if using AlignTo or FitTo component.