Widget

*

Constructors

this
this(string id, Gui gui)

*

Members

Functions

getGui
Gui getGui()

*

getIndex
Vector2I getIndex()

*

getZIndex
int getZIndex()

*

isMouseColliding
bool isMouseColliding()

*

setIndex
typeof(this) setIndex(int x, int y)

* * Returns reference to this so it can be used in a stream.

setIndex
typeof(this) setIndex(Vector2I value)

* * Returns reference to this so it can be used in a stream.

setZIndex
typeof(this) setZIndex(int value)

* * Returns reference to this so it can be used in a stream.

update
void update()
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From Entity

transform
Transform transform;
id
string id;
scene
Scene scene;
visibility
Visibility visibility;
model
Model model;
addComponent
typeof(this) addComponent(T component)
removeComponent
typeof(this) removeComponent(ComponentType type)
component
T component()
start
void start()

Called after all scene entitys instantiation. It is optional.

update
void update()

Called every frame to update the current state of the scene entity. It is optional.

Meta