Interface GuiViewPortFragment
- All Superinterfaces:
Fragment
- All Known Implementing Classes:
NWindowManagerComponent
A fragment that provides access to a GUI ViewPort. A GUI ViewPort is an object that contains the camera and
scene to be rendered for the GUI.
-
Method Summary
Modifier and TypeMethodDescriptiondefault Node
getGuiNode
(ViewPort vp) Get the first scene node of the GUI ViewPort.default void
Receive a GUI ViewPort instance as soon as it is available.default void
updateGuiViewPort
(ViewPort vp, float tpf)
-
Method Details
-
getGuiNode
Get the first scene node of the GUI ViewPort. This is usually the root node of the GUI scene graph.- Parameters:
vp
- the ViewPort instance- Returns:
- the root node of the GUI scene graph
-
receiveGuiViewPort
Receive a GUI ViewPort instance as soon as it is available. The reference to the GUI ViewPort can be stored and- Parameters:
vp
- the ViewPort instance
-
updateGuiViewPort
-