public final class UiComponent extends java.lang.Object implements IComponent
uiStream,
CameraComponent.uiLayer| Modifier and Type | Field and Description |
|---|---|
Stream |
uiStream
|
Stream |
uiThemeStream
Stream of the ui theme (theme.xml/json) |
| Constructor and Description |
|---|
UiComponent() |
| Modifier and Type | Method and Description |
|---|---|
GameObject |
getGameObject() |
<T extends Widget> |
getWidget() |
void |
init(GameObject gameObject)
internal - don't call
|
void |
onActivate()
internal - don't call
|
void |
onDeactivate()
internal - don't call
|
void |
onDestroy()
internal - don't call
|
void |
render(IGLApi glApi,
SceneView sceneView)
internal - don't call
|
void |
start()
internal - don't call
|
void |
update(ISceneTarget sceneTarget,
SceneView sceneView,
long timePassedMs)
internal - don't call
|
public Stream uiStream
UiIOpublic final GameObject getGameObject()
getGameObject in interface IComponentGameObject this component is attached topublic final <T extends Widget> T getWidget()
UI widget, available after the component is initializedpublic final void init(GameObject gameObject)
init in interface IComponentpublic final void start()
start in interface IComponentpublic void onActivate()
onActivate in interface IComponentpublic void onDeactivate()
onDeactivate in interface IComponentpublic void onDestroy()
onDestroy in interface IComponentpublic final void update(ISceneTarget sceneTarget, SceneView sceneView, long timePassedMs)
Bonzai Engine 1.3.4 11/12/2015 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2015 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com