Class ApplicationGlobals


  • public final class ApplicationGlobals
    extends java.lang.Object
    A singleton implementation that holds a SimpleApplication object for easy retrieval. The initialize(SimpleApplication) method should be called before this singleton can be used. When the JmeLauncher class is used as a starting point, the ApplicationGlobals singleton will be already correctly initialized.
    • Method Detail

      • initialize

        public static void initialize​(com.jme3.app.SimpleApplication application)
      • getApplication

        public com.jme3.app.Application getApplication()
      • getRootNode

        public com.jme3.scene.Node getRootNode()
      • getGuiNode

        public com.jme3.scene.Node getGuiNode()