📄 simpleuniverse.html
字号:
<TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/j3d/utils/universe/SimpleUniverse.html#cleanup()">cleanup</A></B>()</CODE><BR> Cleanup memory use and reference by SimpleUniverse.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../javax/media/j3d/Canvas3D.html" title="class in javax.media.j3d">Canvas3D</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/j3d/utils/universe/SimpleUniverse.html#getCanvas()">getCanvas</A></B>()</CODE><BR> Returns the Canvas3D object associated with this Java 3D Universe.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../javax/media/j3d/Canvas3D.html" title="class in javax.media.j3d">Canvas3D</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/j3d/utils/universe/SimpleUniverse.html#getCanvas(int)">getCanvas</A></B>(int canvasNum)</CODE><BR> Returns the Canvas3D object at the specified index associated with this Java 3D Universe.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../javax/media/j3d/Locale.html" title="class in javax.media.j3d">Locale</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/j3d/utils/universe/SimpleUniverse.html#getLocale()">getLocale</A></B>()</CODE><BR> Returns the Locale object associated with this scene graph.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static java.awt.GraphicsConfiguration</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/j3d/utils/universe/SimpleUniverse.html#getPreferredConfiguration()">getPreferredConfiguration</A></B>()</CODE><BR> Finds the preferred <code>GraphicsConfiguration</code> object for the system.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../com/sun/j3d/utils/universe/Viewer.html" title="class in com.sun.j3d.utils.universe">Viewer</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/j3d/utils/universe/SimpleUniverse.html#getViewer()">getViewer</A></B>()</CODE><BR> Returns the Viewer object associated with this scene graph.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../com/sun/j3d/utils/universe/ViewingPlatform.html" title="class in com.sun.j3d.utils.universe">ViewingPlatform</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/j3d/utils/universe/SimpleUniverse.html#getViewingPlatform()">getViewingPlatform</A></B>()</CODE><BR> Returns the ViewingPlatform object associated with this scene graph.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_javax.media.j3d.VirtualUniverse"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class javax.media.j3d.<A HREF="../../../../../javax/media/j3d/VirtualUniverse.html" title="class in javax.media.j3d">VirtualUniverse</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../javax/media/j3d/VirtualUniverse.html#addGraphStructureChangeListener(javax.media.j3d.GraphStructureChangeListener)">addGraphStructureChangeListener</A>, <A HREF="../../../../../javax/media/j3d/VirtualUniverse.html#addRenderingErrorListener(javax.media.j3d.RenderingErrorListener)">addRenderingErrorListener</A>, <A HREF="../../../../../javax/media/j3d/VirtualUniverse.html#addShaderErrorListener(javax.media.j3d.ShaderErrorListener)">addShaderErrorListener</A>, <A HREF="../../../../../javax/media/j3d/VirtualUniverse.html#getAllLocales()">getAllLocales</A>, <A HREF="../../../../../javax/media/j3d/VirtualUniverse.html#getJ3DThreadPriority()">getJ3DThreadPriority</A>, <A HREF="../../../../../javax/media/j3d/VirtualUniverse.html#getProperties()">getProperties</A>, <A HREF="../../../../../javax/media/j3d/VirtualUniverse.html#numLocales()">numLocales</A>, <A HREF="../../../../../javax/media/j3d/VirtualUniverse.html#removeAllLocales()">removeAllLocales</A>, <A HREF="../../../../../javax/media/j3d/VirtualUniverse.html#removeGraphStructureChangeListener(javax.media.j3d.GraphStructureChangeListener)">removeGraphStructureChangeListener</A>, <A HREF="../../../../../javax/media/j3d/VirtualUniverse.html#removeLocale(javax.media.j3d.Locale)">removeLocale</A>, <A HREF="../../../../../javax/media/j3d/VirtualUniverse.html#removeRenderingErrorListener(javax.media.j3d.RenderingErrorListener)">removeRenderingErrorListener</A>, <A HREF="../../../../../javax/media/j3d/VirtualUniverse.html#removeShaderErrorListener(javax.media.j3d.ShaderErrorListener)">removeShaderErrorListener</A>, <A HREF="../../../../../javax/media/j3d/VirtualUniverse.html#setJ3DThreadPriority(int)">setJ3DThreadPriority</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Field Detail</B></FONT></TH></TR></TABLE><A NAME="locale"><!-- --></A><H3>locale</H3><PRE>protected <A HREF="../../../../../javax/media/j3d/Locale.html" title="class in javax.media.j3d">Locale</A> <B>locale</B></PRE><DL><DD>Locale reference needed to create the "view" portion of the scene graph.<P><DL></DL></DL><HR><A NAME="viewer"><!-- --></A><H3>viewer</H3><PRE>protected <A HREF="../../../../../com/sun/j3d/utils/universe/Viewer.html" title="class in com.sun.j3d.utils.universe">Viewer</A>[] <B>viewer</B></PRE><DL><DD>Viewer reference needed to create the "view" portion of the scene graph.<P><DL></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="SimpleUniverse()"><!-- --></A><H3>SimpleUniverse</H3><PRE>public <B>SimpleUniverse</B>()</PRE><DL><DD>Creates a locale, a single ViewingPlatform, and and a Viewer object (both with their default values).<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../javax/media/j3d/Locale.html" title="class in javax.media.j3d"><CODE>Locale</CODE></A>, <A HREF="../../../../../com/sun/j3d/utils/universe/Viewer.html" title="class in com.sun.j3d.utils.universe"><CODE>Viewer</CODE></A>, <A HREF="../../../../../com/sun/j3d/utils/universe/ViewingPlatform.html" title="class in com.sun.j3d.utils.universe"><CODE>ViewingPlatform</CODE></A></DL></DL><HR><A NAME="SimpleUniverse(int)"><!-- --></A><H3>SimpleUniverse</H3><PRE>public <B>SimpleUniverse</B>(int numTransforms)</PRE><DL><DD>Creates a locale, a single ViewingPlatform, and a Viewer object (with default values). The ViewingPlatform is created with the specified number of TransformGroups.<P><DL><DT><B>Parameters:</B><DD><CODE>numTransforms</CODE> - The number of transforms to be in the MultiTransformGroup object.<DT><B>Since:</B></DT> <DD>Java 3D 1.2.1</DD><DT><B>See Also:</B><DD><A HREF="../../../../../javax/media/j3d/Locale.html" title="class in javax.media.j3d"><CODE>Locale</CODE></A>, <A HREF="../../../../../com/sun/j3d/utils/universe/Viewer.html" title="class in com.sun.j3d.utils.universe"><CODE>Viewer</CODE></A>, <A HREF="../../../../../com/sun/j3d/utils/universe/ViewingPlatform.html" title="class in com.sun.j3d.utils.universe"><CODE>ViewingPlatform</CODE></A></DL></DL><HR><A NAME="SimpleUniverse(javax.media.j3d.Canvas3D)"><!-- --></A><H3>SimpleUniverse</H3><PRE>public <B>SimpleUniverse</B>(<A HREF="../../../../../javax/media/j3d/Canvas3D.html" title="class in javax.media.j3d">Canvas3D</A> canvas)</PRE><DL><DD>Creates a locale, a single ViewingPlatform (with default values), and and a Viewer object. The Viewer object uses default values for everything but the canvas.<P><DL><DT><B>Parameters:</B><DD><CODE>canvas</CODE> - The canvas to associate with the Viewer object. Passing in null will cause this parameter to be ignored and a canvas to be created by the utility.<DT><B>See Also:</B><DD><A HREF="../../../../../javax/media/j3d/Locale.html" title="class in javax.media.j3d"><CODE>Locale</CODE></A>, <A HREF="../../../../../com/sun/j3d/utils/universe/Viewer.html" title="class in com.sun.j3d.utils.universe"><CODE>Viewer</CODE></A>, <A HREF="../../../../../com/sun/j3d/utils/universe/ViewingPlatform.html" title="class in com.sun.j3d.utils.universe"><CODE>ViewingPlatform</CODE></A></DL></DL><HR><A NAME="SimpleUniverse(javax.media.j3d.Canvas3D, int)"><!-- --></A><H3>SimpleUniverse</H3><PRE>public <B>SimpleUniverse</B>(<A HREF="../../../../../javax/media/j3d/Canvas3D.html" title="class in javax.media.j3d">Canvas3D</A> canvas, int numTransforms)</PRE><DL><DD>Creates a locale, a single ViewingPlatform, and a Viewer object The Viewer object uses default values for everything but the canvas. The ViewingPlatform is created with the specified number of TransformGroups.<P><DL><DT><B>Parameters:</B><DD><CODE>canvas</CODE> - The canvas to associate with the Viewer object. Passing in null will cause this parameter to be ignored and a canvas to be created by the utility.<DD><CODE>numTransforms</CODE> - The number of transforms to be in the MultiTransformGroup object.<DT><B>Since:</B></DT> <DD>Java 3D 1.2.1</DD><DT><B>See Also:</B><DD><A HREF="../../../../../javax/media/j3d/Locale.html" title="class in javax.media.j3d"><CODE>Locale</CODE></A>, <A HREF="../../../../../com/sun/j3d/utils/universe/Viewer.html" title="class in com.sun.j3d.utils.universe"><CODE>Viewer</CODE></A>, <A HREF="../../../../../com/sun/j3d/utils/universe/ViewingPlatform.html" title="class in com.sun.j3d.utils.universe"><CODE>ViewingPlatform</CODE></A>, <A HREF="../../../../../com/sun/j3d/utils/universe/MultiTransformGroup.html" title="class in com.sun.j3d.utils.universe"><CODE>MultiTransformGroup</CODE></A></DL></DL><HR><A NAME="SimpleUniverse(javax.media.j3d.HiResCoord, int, javax.media.j3d.Canvas3D, java.net.URL)"><!-- --></A><H3>SimpleUniverse</H3><PRE>public <B>SimpleUniverse</B>(<A HREF="../../../../../javax/media/j3d/HiResCoord.html" title="class in javax.media.j3d">HiResCoord</A> origin, int numTransforms, <A HREF="../../../../../javax/media/j3d/Canvas3D.html" title="class in javax.media.j3d">Canvas3D</A> canvas, java.net.URL userConfig)</PRE><DL><DD><B>Deprecated.</B> <I>use ConfiguredUniverse constructors to read a configuration file</I><P><DD>Creates the "view" side of the scene graph. The passed in parameters override the default values where appropriate.<P><DL><DT><B>Parameters:</B><DD><CODE>origin</CODE> - The origin used to set the origin of the Locale object. If this object is null, then 0.0 is used.<DD><CODE>numTransforms</CODE> - The number of transforms to be in the MultiTransformGroup object.<DD><CODE>canvas</CODE> - The canvas to draw into. If this is null, it is ignored and a canvas will be created by the utility.<DD><CODE>userConfig</CODE> - The URL to the user's configuration file, used by the Viewer object. This is never examined and default values are always taken.<DT><B>See Also:</B><DD><A HREF="../../../../../javax/media/j3d/Locale.html" title="class in javax.media.j3d"><CODE>Locale</CODE></A>, <A HREF="../../../../../com/sun/j3d/utils/universe/Viewer.html" title="class in com.sun.j3d.utils.universe"><CODE>Viewer</CODE></A>, <A HREF="../../../../../com/sun/j3d/utils/universe/ViewingPlatform.html" title="class in com.sun.j3d.utils.universe"><CODE>ViewingPlatform</CODE></A>, <A HREF="../../../../../com/sun/j3d/utils/universe/MultiTransformGroup.html" title="class in com.sun.j3d.utils.universe"><CODE>MultiTransformGroup</CODE></A></DL></DL><HR><A NAME="SimpleUniverse(javax.media.j3d.HiResCoord, int, javax.media.j3d.Canvas3D, java.net.URL, com.sun.j3d.utils.universe.LocaleFactory)"><!-- --></A><H3>SimpleUniverse</H3><PRE>public <B>SimpleUniverse</B>(<A HREF="../../../../../javax/media/j3d/HiResCoord.html" title="class in javax.media.j3d">HiResCoord</A> origin, int numTransforms, <A HREF="../../../../../javax/media/j3d/Canvas3D.html" title="class in javax.media.j3d">Canvas3D</A> canvas, java.net.URL userConfig, <A HREF="../../../../../com/sun/j3d/utils/universe/LocaleFactory.html" title="interface in com.sun.j3d.utils.universe">LocaleFactory</A> localeFactory)</PRE><DL><DD><B>Deprecated.</B> <I>use ConfiguredUniverse constructors to read a configuration file</I><P><DD>Creates the "view" side of the scene graph. The passed in parameters override the default values where appropriate.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -