vBoxContainer

inline fun Node.vBoxContainer(callback: VBoxContainer.() -> Unit = {}): VBoxContainer

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

Return

the newly created VBoxContainer

Parameters

callback

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


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

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

Return

the newly created VBoxContainer

Parameters

callback

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