GuiState

Single state of a GUI. \ Used with **addState**, **setState**, **doTransitionState** etc.

Members

Variables

alpha
float alpha;

Opacity of the GUI (1 = Default)

angle
float angle;

Angle of the GUI. (0 = Default)

blend
Blend blend;

Blend of the canvas if present (Alpha blending = Default)

callback
string callback;

When fully in this state, **onCallback()** will be called with **callback**.

color
Color color;

Color of the GUI. (White = Default)

easing
EasingFunction easing;

The easing algorithm used to get to this state.

offset
Vec2f offset;

Position offset relative to its alignment. (0 = No modification)

scale
Vec2f scale;

Size scale of the GUI. (1 = Default)

time
float time;

Time (in seconds) to get to this state with **doTransitionState()**.

Meta