Skip to content

abstract class View (client-side)

Available since version: 0.3.8.0

This class represents common UI interface that every derived UI class inherits from.

Properties

bool visible

Represents the visibility state of the texture.


int zIndex (read-only)

Represents the current z-index order for ui element (the higher the value, the closer to the top the element is).


Methods

top

This method will move the sprite at the end of the render queue. It will be visible as the top most element on the screen (other elements will be covered by it).

void top()

bottom

This method will move the sprite at the beginning of the render queue. It will be visible as the bottom most element on the screen (will be covered by other elements).

void bottom()

stepTop

This method will move the sprite one step closer to the top most element (first visible on the screen).

void stepTop()

stepBottom

This method will move the sprite one step closer to the bottom most element (last visible on the screen).

void stepBottom()

Callbacks

No callbacks.