📄 configureduniverse.html
字号:
<P><!-- ========= 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="ConfiguredUniverse()"><!-- --></A><H3>ConfiguredUniverse</H3><PRE>public <B>ConfiguredUniverse</B>()</PRE><DL><DD>Equivalent to <code>SimpleUniverse()</code>. Creates a Locale, a single ViewingPlatform, and a Viewer object.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../com/sun/j3d/utils/universe/SimpleUniverse.html#SimpleUniverse()"><CODE>SimpleUniverse.SimpleUniverse()</CODE></A>, <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="ConfiguredUniverse(int)"><!-- --></A><H3>ConfiguredUniverse</H3><PRE>public <B>ConfiguredUniverse</B>(int transformCount)</PRE><DL><DD>Equivalent to <code>SimpleUniverse(int)</code>. Creates a Locale, a single ViewingPlatform with the specified number of transforms, and a Viewer object.<P><DL><DT><B>Parameters:</B><DD><CODE>transformCount</CODE> - the number of transforms in the MultiTransformGroup object to be created<DT><B>See Also:</B><DD><A HREF="../../../../../com/sun/j3d/utils/universe/SimpleUniverse.html#SimpleUniverse(int)"><CODE>SimpleUniverse.SimpleUniverse(int)</CODE></A>, <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="ConfiguredUniverse(javax.media.j3d.Canvas3D)"><!-- --></A><H3>ConfiguredUniverse</H3><PRE>public <B>ConfiguredUniverse</B>(<A HREF="../../../../../javax/media/j3d/Canvas3D.html" title="class in javax.media.j3d">Canvas3D</A> canvas)</PRE><DL><DD>Equivalent to <code>SimpleUniverse(Canvas3D)</code>. Creates a Locale, a single ViewingPlatform, and a Viewer object using the given Canvas3D instance.<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="../../../../../com/sun/j3d/utils/universe/SimpleUniverse.html#SimpleUniverse(javax.media.j3d.Canvas3D)"><CODE>SimpleUniverse.SimpleUniverse(Canvas3D)</CODE></A>, <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="ConfiguredUniverse(javax.media.j3d.Canvas3D, int)"><!-- --></A><H3>ConfiguredUniverse</H3><PRE>public <B>ConfiguredUniverse</B>(<A HREF="../../../../../javax/media/j3d/Canvas3D.html" title="class in javax.media.j3d">Canvas3D</A> canvas, int transformCount)</PRE><DL><DD>Equivalent to <code>SimpleUniverse(Canvas3D, int)</code>. Creates a Locale, a single ViewingPlatform with the specified number of transforms, and a Viewer object with the given Canvas3D.<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>transformCount</CODE> - the number of transforms in the MultiTransformGroup object to be created<DT><B>See Also:</B><DD><A HREF="../../../../../com/sun/j3d/utils/universe/SimpleUniverse.html#SimpleUniverse(javax.media.j3d.Canvas3D, int)"><CODE>SimpleUniverse.SimpleUniverse(Canvas3D, int)</CODE></A>, <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="ConfiguredUniverse(com.sun.j3d.utils.universe.ViewingPlatform, com.sun.j3d.utils.universe.Viewer)"><!-- --></A><H3>ConfiguredUniverse</H3><PRE>public <B>ConfiguredUniverse</B>(<A HREF="../../../../../com/sun/j3d/utils/universe/ViewingPlatform.html" title="class in com.sun.j3d.utils.universe">ViewingPlatform</A> viewingPlatform, <A HREF="../../../../../com/sun/j3d/utils/universe/Viewer.html" title="class in com.sun.j3d.utils.universe">Viewer</A> viewer)</PRE><DL><DD>Equivalent to <code>SimpleUniverse(ViewingPlatform, Viewer)</code>. Creates the view side of the scene graph with the given ViewingPlatform and Viewer.<P><DL><DT><B>Parameters:</B><DD><CODE>viewingPlatform</CODE> - the viewingPlatform to use to create the view side of the scene graph<DD><CODE>viewer</CODE> - the viewer object to use to create the view side of the scene graph<DT><B>See Also:</B><DD><A HREF="../../../../../com/sun/j3d/utils/universe/SimpleUniverse.html#SimpleUniverse(com.sun.j3d.utils.universe.ViewingPlatform, com.sun.j3d.utils.universe.Viewer)"><CODE>SimpleUniverse.SimpleUniverse(ViewingPlatform, 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/Viewer.html" title="class in com.sun.j3d.utils.universe"><CODE>Viewer</CODE></A></DL></DL><HR><A NAME="ConfiguredUniverse(com.sun.j3d.utils.universe.ViewingPlatform, com.sun.j3d.utils.universe.Viewer, com.sun.j3d.utils.universe.LocaleFactory)"><!-- --></A><H3>ConfiguredUniverse</H3><PRE>public <B>ConfiguredUniverse</B>(<A HREF="../../../../../com/sun/j3d/utils/universe/ViewingPlatform.html" title="class in com.sun.j3d.utils.universe">ViewingPlatform</A> viewingPlatform, <A HREF="../../../../../com/sun/j3d/utils/universe/Viewer.html" title="class in com.sun.j3d.utils.universe">Viewer</A> viewer, <A HREF="../../../../../com/sun/j3d/utils/universe/LocaleFactory.html" title="interface in com.sun.j3d.utils.universe">LocaleFactory</A> localeFactory)</PRE><DL><DD>Equivalent to <code>SimpleUniverse(ViewingPlatform, Viewer, LocalFactory)</code>. Creates the view side of the scene graph with the given ViewingPlatform, Viewer, and Locale created by the specified LocaleFactory.<P><DL><DT><B>Parameters:</B><DD><CODE>viewingPlatform</CODE> - the viewingPlatform to use to create the view side of the scene graph<DD><CODE>viewer</CODE> - the viewer object to use to create the view side of the scene graph<DD><CODE>localeFactory</CODE> - the factory object used to create the Locale<DT><B>See Also:</B><DD><A HREF="../../../../../com/sun/j3d/utils/universe/SimpleUniverse.html#SimpleUniverse(com.sun.j3d.utils.universe.ViewingPlatform, com.sun.j3d.utils.universe.Viewer, com.sun.j3d.utils.universe.LocaleFactory)"><CODE>SimpleUniverse.SimpleUniverse(ViewingPlatform, Viewer, LocaleFactory)</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/Viewer.html" title="class in com.sun.j3d.utils.universe"><CODE>Viewer</CODE></A>, <A HREF="../../../../../com/sun/j3d/utils/universe/LocaleFactory.html" title="interface in com.sun.j3d.utils.universe"><CODE>LocaleFactory</CODE></A></DL></DL><HR><A NAME="ConfiguredUniverse(javax.media.j3d.Canvas3D[])"><!-- --></A><H3>ConfiguredUniverse</H3><PRE>public <B>ConfiguredUniverse</B>(<A HREF="../../../../../javax/media/j3d/Canvas3D.html" title="class in javax.media.j3d">Canvas3D</A>[] canvases)</PRE><DL><DD>Creates a Locale, a single ViewingPlatform, and a Viewer object from the given array of Canvas3D instances.<P><DL><DT><B>Parameters:</B><DD><CODE>canvases</CODE> - the canvases 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="ConfiguredUniverse(javax.media.j3d.Canvas3D[], int)"><!-- --></A><H3>ConfiguredUniverse</H3><PRE>public <B>ConfiguredUniverse</B>(<A HREF="../../../../../javax/media/j3d/Canvas3D.html" title="class in javax.media.j3d">Canvas3D</A>[] canvases, int transformCount)</PRE><DL><DD>Creates a Locale, a single ViewingPlatform with the specified number of transforms, and a Viewer object using the given array of Canvas3D instances.<P><DL><DT><B>Parameters:</B><DD><CODE>canvases</CODE> - the canvases 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>transformCount</CODE> - the number of transforms in the MultiTransformGroup object to be created<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="ConfiguredUniverse(java.net.URL)"><!-- --></A><H3>ConfiguredUniverse</H3><PRE>public <B>ConfiguredUniverse</B>(java.net.URL userConfig)</PRE><DL><DD>Reads the configuration specified by the given URL to create a Locale, one or more ViewingPlatforms, and at least one Viewer object. The configuration file may also create InputDevice, Sensor, and ViewPlatformBehavior instances.<P><DL><DT><B>Parameters:</B><DD><CODE>userConfig</CODE> - the URL to the user's configuration file; passing in null creates a default Viewer and ViewingPlatform<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="ConfiguredUniverse(java.net.URL, int)"><!-- --></A><H3>ConfiguredUniverse</H3><PRE>public <B>ConfiguredUniverse</B>(java.net.URL userConfig, int transformCount)</PRE><DL><DD>Reads the configuration specified by the given URL to create a Locale, one or more ViewingPlatforms with the specified number of transforms, and at least one Viewer object. The configuration file may also create InputDevice, Sensor, and ViewPlatformBehavior instances.<P><DL><DT><B>Parameters:</B><DD><CODE>userConfig</CODE> - the URL to the user's configuration file; passing in null creates a default Viewer and ViewingPlatform with the specified number of transforms<DD><CODE>transformCount</CODE> - the number of transforms in the MultiTransformGroup objects to be created<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="ConfiguredUniverse(java.net.URL, int, boolean)"><!-- --></A><H3>ConfiguredUniverse</H3><PRE>public <B>ConfiguredUniverse</B>(java.net.URL userConfig, int transformCount,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -