/** * Returns the ViewingPlatform object associated with this scene graph. * * @return The ViewingPlatform object of this scene graph. */ public ViewingPlatform getViewingPlatform() { return viewer[0].getViewingPlatform(); }
/** * Returns the Universe to which this Viewer is attached * * @return the Universe to which this Viewer is attached * @since Java 3D 1.3 */ public SimpleUniverse getUniverse() { return getViewingPlatform().getUniverse(); }