panelContainer

inline fun Node.panelContainer(callback: PanelContainer.() -> Unit = {}): PanelContainer

Adds a PanelContainer to the current Node as a child and then triggers the callback

Return

the newly created PanelContainer

Parameters

callback

the callback that is invoked with a PanelContainer context in order to initialize any values


inline fun SceneGraph<*>.panelContainer(callback: PanelContainer.() -> Unit = {}): PanelContainer

Adds a PanelContainer to the SceneGraph.root as a child and then triggers the callback

Return

the newly created PanelContainer

Parameters

callback

the callback that is invoked with a PanelContainer context in order to initialize any values