⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 configureduniverse.html

📁 这是一个JAVA的代码
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<P><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"><CODE>ViewingPlatform</CODE></A>, <A HREF="../../../../../com/sun/j3d/utils/universe/Viewer.html"><CODE>Viewer</CODE></A></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">ViewingPlatform</A>&nbsp;viewingPlatform,                          <A HREF="../../../../../com/sun/j3d/utils/universe/Viewer.html">Viewer</A>&nbsp;viewer,                          <A HREF="../../../../../com/sun/j3d/utils/universe/LocaleFactory.html">LocaleFactory</A>&nbsp;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><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"><CODE>ViewingPlatform</CODE></A>, <A HREF="../../../../../com/sun/j3d/utils/universe/Viewer.html"><CODE>Viewer</CODE></A>, <A HREF="../../../../../com/sun/j3d/utils/universe/LocaleFactory.html"><CODE>LocaleFactory</CODE></A></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">Canvas3D</A>[]&nbsp;canvases)</PRE><DL><DD>Creates a Locale, a single ViewingPlatform, and a Viewer object from the given array of Canvas3D instances.<P><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"><CODE>Locale</CODE></A>, <A HREF="../../../../../com/sun/j3d/utils/universe/Viewer.html"><CODE>Viewer</CODE></A>, <A HREF="../../../../../com/sun/j3d/utils/universe/ViewingPlatform.html"><CODE>ViewingPlatform</CODE></A></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">Canvas3D</A>[]&nbsp;canvases,                          int&nbsp;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><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"><CODE>Locale</CODE></A>, <A HREF="../../../../../com/sun/j3d/utils/universe/Viewer.html"><CODE>Viewer</CODE></A>, <A HREF="../../../../../com/sun/j3d/utils/universe/ViewingPlatform.html"><CODE>ViewingPlatform</CODE></A>, <A HREF="../../../../../com/sun/j3d/utils/universe/MultiTransformGroup.html"><CODE>MultiTransformGroup</CODE></A></DL><HR><A NAME="ConfiguredUniverse(java.net.URL)"><!-- --></A><H3>ConfiguredUniverse</H3><PRE>public <B>ConfiguredUniverse</B>(java.net.URL&nbsp;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><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"><CODE>Locale</CODE></A>, <A HREF="../../../../../com/sun/j3d/utils/universe/Viewer.html"><CODE>Viewer</CODE></A>, <A HREF="../../../../../com/sun/j3d/utils/universe/ViewingPlatform.html"><CODE>ViewingPlatform</CODE></A></DL><HR><A NAME="ConfiguredUniverse(java.net.URL, int)"><!-- --></A><H3>ConfiguredUniverse</H3><PRE>public <B>ConfiguredUniverse</B>(java.net.URL&nbsp;userConfig,                          int&nbsp;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><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"><CODE>Locale</CODE></A>, <A HREF="../../../../../com/sun/j3d/utils/universe/Viewer.html"><CODE>Viewer</CODE></A>, <A HREF="../../../../../com/sun/j3d/utils/universe/ViewingPlatform.html"><CODE>ViewingPlatform</CODE></A>, <A HREF="../../../../../com/sun/j3d/utils/universe/MultiTransformGroup.html"><CODE>MultiTransformGroup</CODE></A></DL><HR><A NAME="ConfiguredUniverse(java.net.URL, int, boolean)"><!-- --></A><H3>ConfiguredUniverse</H3><PRE>public <B>ConfiguredUniverse</B>(java.net.URL&nbsp;userConfig,                          int&nbsp;transformCount,                          boolean&nbsp;setVisible)</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 with optional visibility.  AWT components used by the Viewers will remain invisible unless the <code>setVisible</code> flag is true.  The configuration file may also create InputDevice, Sensor, and ViewPlatformBehavior instances.<P><DT><B>Parameters:</B><DD><CODE>userConfig</CODE> - the URL to the user's configuration file; passing in  null creates a default Viewer with the specified visibility and a  ViewingPlatform with the specified number of transforms<DD><CODE>transformCount</CODE> - the number of transforms in the  MultiTransformGroup object to be created<DD><CODE>setVisible</CODE> - if true, calls <code>setVisible(true)</code> on all  created window components; otherwise, they remain invisible<DT><B>See Also:</B><DD><A HREF="../../../../../javax/media/j3d/Locale.html"><CODE>Locale</CODE></A>, <A HREF="../../../../../com/sun/j3d/utils/universe/Viewer.html"><CODE>Viewer</CODE></A>, <A HREF="../../../../../com/sun/j3d/utils/universe/ViewingPlatform.html"><CODE>ViewingPlatform</CODE></A>, <A HREF="../../../../../com/sun/j3d/utils/universe/MultiTransformGroup.html"><CODE>MultiTransformGroup</CODE></A></DL><HR><A NAME="ConfiguredUniverse(java.net.URL, com.sun.j3d.utils.universe.LocaleFactory)"><!-- --></A><H3>ConfiguredUniverse</H3><PRE>public <B>ConfiguredUniverse</B>(java.net.URL&nbsp;userConfig,                          <A HREF="../../../../../com/sun/j3d/utils/universe/LocaleFactory.html">LocaleFactory</A>&nbsp;localeFactory)</PRE><DL><DD>Reads the configuration specified by the given URL to create a Locale using the given LocaleFactory, one or more ViewingPlatforms, and at least one Viewer object.  The configuration file may also create InputDevice, Sensor, and ViewPlatformBehavior instances.<P><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>localeFactory</CODE> - the factory object used to create the Locale<DT><B>See Also:</B><DD><A HREF="../../../../../javax/media/j3d/Locale.html"><CODE>Locale</CODE></A>, <A HREF="../../../../../com/sun/j3d/utils/universe/Viewer.html"><CODE>Viewer</CODE></A>, <A HREF="../../../../../com/sun/j3d/utils/universe/ViewingPlatform.html"><CODE>ViewingPlatform</CODE></A></DL><HR><A NAME="ConfiguredUniverse(java.net.URL, com.sun.j3d.utils.universe.LocaleFactory, boolean)"><!-- --></A><H3>ConfiguredUniverse</H3><PRE>public <B>ConfiguredUniverse</B>(java.net.URL&nbsp;userConfig,                          <A HREF="../../../../../com/sun/j3d/utils/universe/LocaleFactory.html">LocaleFactory</A>&nbsp;localeFactory,                          boolean&nbsp;setVisible)</PRE><DL><DD>Reads the configuration specified by the given URL to create a Locale using the given LocaleFactory, one or more ViewingPlatforms, and at least one Viewer object with optional visibility.  The configuration file may also create InputDevice, Sensor, and ViewPlatformBehavior instances.  Window components used by the Viewers will remain invisible unless the <code>setVisible</code> flag is true.<P><DT><B>Parameters:</B><DD><CODE>userConfig</CODE> - the URL to the user's configuration file; passing in  null creates a default Viewer with the specified visibility and a  default ViewingPlatform<DD><CODE>localeFactory</CODE> - the factory object used to create the Locale<DD><CODE>setVisible</CODE> - if true, calls <code>setVisible(true)</code> on all  created window components; otherwise, they remain invisible<DT><B>See Also:</B><DD><A HREF="../../../../../javax/media/j3d/Locale.html"><CODE>Locale</CODE></A>, <A HREF="../../../../../com/sun/j3d/utils/universe/Viewer.html"><CODE>Viewer</CODE></A>, <A HREF="../../../../../com/sun/j3d/utils/universe/ViewingPlatform.html"><CODE>ViewingPlatform</CODE></A></DL><HR><A NAME="ConfiguredUniverse(java.net.URL, com.sun.j3d.utils.universe.LocaleFactory, javax.media.j3d.HiResCoord, int, boolean)"><!-- --></A><H3>ConfiguredUniverse</H3><PRE>public <B>ConfiguredUniverse</B>(java.net.URL&nbsp;userConfig,                          <A HREF="../../../../../com/sun/j3d/utils/universe/LocaleFactory.html">LocaleFactory</A>&nbsp;localeFactory,                          <A HREF="../../../../../javax/media/j3d/HiResCoord.html">HiResCoord</A>&nbsp;origin,                          int&nbsp;transformCount,                          boolean&nbsp;setVisible)</PRE><DL><DD>Reads the configuration specified by the given URL to create a Locale using the specified LocaleFactory with the given origin, one or more ViewingPlatforms with the specified number of transforms, and at least one Viewer object with optional visibility.  Window components used by the Viewers will remain invisible unless the <code>setVisible</code> flag is true.  The configuration file may also create InputDevice, Sensor, and ViewPlatformBehavior instances.<P><DT><B>Parameters:</B><DD><CODE>userConfig</CODE> - the URL to the user's configuration file; passing in  null creates a default Viewer with the specified visibility and a  ViewingPlatform with the specified number of transforms<DD><CODE>localeFactory</CODE> - the factory object used to create the Locale<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>transformCount</CODE> - the number of transforms in the  MultiTransformGroup object to be created<DD><CODE>setVisible</CODE> - if true, calls <code>setVisible(true)</code> on all  created window components; otherwise, they remain invisible<DT><B>See Also:</B><DD><A HREF="../../../../../javax/media/j3d/Locale.html"><CODE>Locale</CODE></A>, <A HREF="../../../../../com/sun/j3d/utils/universe/Viewer.html"><CODE>Viewer</CODE></A>, <A HREF="../../../../../com/sun/j3d/utils/universe/ViewingPlatform.html"><CODE>ViewingPlatform</CODE></A>, <A HREF="../../../../../com/sun/j3d/utils/universe/MultiTransformGroup.html"><CODE>MultiTransformGroup</CODE></A></DL><HR><A NAME="ConfiguredUniverse(com.sun.j3d.utils.universe.ConfigContainer)"><!-- --></A><H3>ConfiguredUniverse</H3><PRE>public <B>ConfiguredUniverse</B>(<A HREF="../../../../../com/sun/j3d/utils/universe/ConfigContainer.html">ConfigContainer</A>&nbsp;userConfig)</PRE><DL><DD>Retrieves view-side scenegraph components from the given container to create a universe with one Locale, one or more ViewingPlatforms, and at least one Viewer object.  Equivalent to <code>ConfiguredUniverse(ConfigContainer, null, null)</code>.<P><DT><B>Parameters:</B><DD><CODE>userConfig</CODE> - container holding viewing configuration components;  must not be null<DT><B>Since:</B><DD>Java 3D 1.3.1</DD></DD><DT><B>See Also:</B><DD><A HREF="../../../../../com/sun/j3d/utils/universe/ConfiguredUniverse.html#ConfiguredUniverse(com.sun.j3d.utils.universe.ConfigContainer, com.sun.j3d.utils.universe.LocaleFactory, javax.media.j3d.HiResCoord)"><CODE>ConfiguredUniverse(ConfigContainer, LocaleFactory, HiResCoord)</CODE></A>, <A HREF="../../../../../javax/media/j3d/Locale.html"><CODE>Locale</CODE></A>, <A HREF="../../../../../com/sun/j3d/utils/universe/Viewer.html"><CODE>Viewer</CODE></A>, <A HREF="../../../../../com/sun/j3d/utils/universe/ViewingPlatform.html"><CODE>ViewingPlatform</CODE></A></DL><HR><A NAME="ConfiguredUniverse(com.sun.j3d.utils.universe.ConfigContainer, com.sun.j3d.utils.universe.LocaleFactory, javax.media.j3d.HiResCoord)"><!-- --></A><H3>ConfiguredUniverse</H3><PRE>public <B>ConfiguredUniverse</B>(<A HREF="../../../../../com/sun/j3d/utils/universe/ConfigContainer.html">ConfigContainer</A>&nbsp;userConfig,                          <A HREF="../../../../../com/sun/j3d/utils/universe/LocaleFactory.html">LocaleFactory</A>&nbsp;localeFactory,                          <A HREF="../../../../../javax/media/j3d/HiResCoord.html">HiResCoord</A>&nbsp;origin)</PRE><DL><DD>Retrieves view-side scenegraph components from the given container to create a universe with one Locale created from the specified LocaleFactory and origin, one or more ViewingPlatforms, and at least one Viewer object.  The container may also provide InputDevice, Sensor, and ViewPlatformBehavior instances which will be incorporated into the universe if they are referenced by any of the Viewer or ViewingPlatform instances.<p> This constructor and <code>ConfiguredUniverse(ConfigContainer)</code> both accept ConfigContainer references directly and are the preferred interfaces for constructing universes from configuration files.  They differ from the constructors that accept URL objects in the following ways:<p> <ul> <li>A Viewer will be attached to a default ViewingPlatform only if     no ViewingPlatforms are provided in the ConfigContainer.  If one     or more ViewingPlatforms are provided by the ConfigContainer, then     Viewers must be attached to them explicitly in the configuration.<p> </li> <li>ViewPlatformBehaviors will be attached to their specified     ViewingPlatforms before ConfiguredUniverse can set a reference to     itself in the ViewingPlatform.  This means that a behavior can't     get a reference to the universe at the time its     <code>setViewingPlatform</code> method is called; it must wait     until its <code>initialize</code> method is called.<p> </li> <li>All Java properties used by Java 3D may be set in the beginning of     the configuration file as long as there is no reference to a     VirtualUniverse prior to creating the ConfigContainer.  Note     however, that some Java 3D utilities and objects such as     Transform3D can cause static references to VirtualUniverse and     trigger the evaluation of Java properties before they are set by     ConfigContainer.<p> </li> </ul><P><DT><B>Parameters:</B><DD><CODE>userConfig</CODE> - container holding viewing configuration components;  must not be null<DD><CODE>localeFactory</CODE> - the factory object used to create the Locale, or  null<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<DT><B>Since:</B><DD>Java 3D 1.3.1</DD>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -