Interface GuiViewPortFragment

All Superinterfaces:
Fragment
All Known Implementing Classes:
NWindowManagerComponent

public interface GuiViewPortFragment extends Fragment
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 Details Link icon

    • getGuiNode Link icon

      default Node getGuiNode(ViewPort vp)
      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 Link icon

      default void receiveGuiViewPort(ViewPort vp)
      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 Link icon

      default void updateGuiViewPort(ViewPort vp, float tpf)