![java 3d 1.6 java 3d 1.6](https://i.ytimg.com/vi/-8V0p1N6ar4/hqdefault.jpg)
This method is equivalent to calling getCanvas(0). Returns: A reference to the Canvas3D object associated with the Public Canvas3D getCanvas() Returns the Canvas3D object associated with this Java 3D Universe. Returns: The ViewingPlatform object of this scene graph. Public ViewingPlatform getViewingPlatform() Returns the ViewingPlatform object associated with this scene graph. Returns: The Viewer object associated with this scene graph. SimpleUniverse creates a single Viewer object for use in the Public Viewer getViewer() Returns the Viewer object associated with this scene graph. Returns: The Locale object used in the construction of this scene Public Locale getLocale() Returns the Locale object associated with this scene graph. localeFactory - The factory used to create the Locale Object Method Detail LocaleFactory localeFactory) Creates the "view" side of the scene graph. viewer - The viewer object to use to create Parameters: viewingPlatform - The viewingPlatform to use to create Viewer viewer) Creates the "view" side of the scene graph. Public SimpleUniverse( ViewingPlatform viewingPlatform, localeFactory - The Locale Factory which will instantiate the use ConfiguredUniverse constructors to read aĪlways taken. This is never examined and default values are userConfig - The URL to the user's configuration file, usedīy the Viewer object. Ignored and a canvas will be created by the utility. numTransforms - The number of transforms to be in the If this object is null, then 0.0 is used. Parameters: origin - The origin used to set the origin of the Locale object. Override the default values where appropriate. use ConfiguredUniverse constructors to read aĬreates the "view" side of the scene graph. Public SimpleUniverse( HiResCoord origin, The ViewingPlatform is created with the specified number ofĬreated by the utility. Int numTransforms) Creates a locale, a single ViewingPlatform, and a Viewer object In null will cause this parameter to be ignored and a canvas to beĬreated by the utility. Parameters: canvas - The canvas to associate with the Viewer object. The Viewer object uses default values for Public SimpleUniverse( Canvas3D canvas) Creates a locale, a single ViewingPlatform (with default values), andĪnd a Viewer object. Parameters: numTransforms - The number of transforms to be in the Public SimpleUniverse(int numTransforms) Creates a locale, a single ViewingPlatform, and a Viewer object Public SimpleUniverse() Creates a locale, a single ViewingPlatform, and Protected Viewer viewer Viewer reference needed to create the "view" portion Protected Locale locale Locale reference needed to create the "view" portion Methods inherited from class Ĭlone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait VirtualUniverseĪddGraphStructureChangeListener, addShaderErrorListener, getAllLocales, getJ3DThreadPriority, getProperties, numLocales, removeAllLocales, removeGraphStructureChangeListener, removeLocale, removeShaderErrorListener, setJ3DThreadPriority Returns the ViewingPlatform object associated with this scene graph.
![java 3d 1.6 java 3d 1.6](https://forum.jogamp.org/file/n4030912/test_2.1.3_16pre9.png)
Returns the Viewer object associated with this scene graph. Returns the Locale object associated with this scene graph.įinds the preferred GraphicsConfiguration object Returns the Canvas3D object at the specified index associated with Returns the Canvas3D object associated with this Java 3D Universe. Used to add Nodes to the geometry side (as opposed to the view side)Ĭleanup memory use and reference by SimpleUniverse.
![java 3d 1.6 java 3d 1.6](https://api.mcpedl.com/storage/submissions/132812/images/java-aspects_2.png)
SimpleUniverse( ViewingPlatform viewingPlatform,Ĭreates the "view" side of the scene graph. use ConfiguredUniverse constructors to read a The Viewer object uses default values for everything but the canvas.ĭeprecated. Viewer reference needed to create the "view" portionĬreates a locale, a single ViewingPlatform, andĬreates a locale, a single ViewingPlatform (with default values), andĬreates a locale, a single ViewingPlatform, and a Viewer object Locale reference needed to create the "view" portion May find that they need more control in order to get extra functionality Will find that SimpleUniverse provides all necessary functionality Specifically, this class creates a locale, a single ViewingPlatform,Īnd a Viewer object (both with their default values). This utility class createsĪll the necessary objects on the "view" side of the scene graph. This class sets up a minimal user environment to quickly and easily Public class SimpleUniverse extends VirtualUniverse universe.SimpleUniverse Direct Known Subclasses: ConfiguredUniverse SUMMARY: NESTED | FIELD | CONSTR | METHOD