📄 virtualuniverse.html
字号:
<DD><DL><DT><B>Returns:</B><DD>the count of locales</DL></DD></DL><HR><A NAME="setJ3DThreadPriority(int)"><!-- --></A><H3>setJ3DThreadPriority</H3><PRE>public static void <B>setJ3DThreadPriority</B>(int priority)</PRE><DL><DD>Sets the priority of all Java 3D threads to the specified value. The default value is the priority of the thread that started Java 3D.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>priority</CODE> - the new thread priority<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if the priority is not in the range MIN_PRIORITY to MAX_PRIORITY<DD><CODE>java.lang.SecurityException</CODE> - if the priority is greater than that of the calling thread<DT><B>Since:</B></DT> <DD>Java 3D 1.2</DD></DL></DD></DL><HR><A NAME="getJ3DThreadPriority()"><!-- --></A><H3>getJ3DThreadPriority</H3><PRE>public static int <B>getJ3DThreadPriority</B>()</PRE><DL><DD>Retrieves that priority of Java 3D's threads.<P><DD><DL><DT><B>Returns:</B><DD>the current priority of Java 3D's threads<DT><B>Since:</B></DT> <DD>Java 3D 1.2</DD></DL></DD></DL><HR><A NAME="getProperties()"><!-- --></A><H3>getProperties</H3><PRE>public static final java.util.Map <B>getProperties</B>()</PRE><DL><DD>Returns a read-only Map object containing key-value pairs that define various global properties for Java 3D. All of the keys are String objects. The values are key-specific, but most will be String objects. <p> The set of global Java 3D properties always includes values for the following keys: <p> <ul> <table BORDER=1 CELLSPACING=1 CELLPADDING=1> <tr> <td><b>Key (String)</b></td> <td><b>Value Type</b></td> </tr> <tr> <td><code>j3d.version</code></td> <td>String</td> </tr> <tr> <td><code>j3d.vendor</code></td> <td>String</td> </tr> <tr> <td><code>j3d.specification.version</code></td> <td>String</td> </tr> <tr> <td><code>j3d.specification.vendor</code></td> <td>String</td> </tr> <tr> <td><code>j3d.pipeline</code></td> <td>String</td> </tr> <tr> <td><code>j3d.renderer</code></td> <td>String</td> </tr> </table> </ul> <p> The descriptions of the values returned for each key are as follows: <p> <ul> <li> <code>j3d.version</code> <ul> A String that defines the Java 3D implementation version. The portion of the implementation version string before the first space must adhere to one of the the following three formats (anything after the first space is an optional free-form addendum to the version): <ul> <i>x</i>.<i>y</i>.<i>z</i><br> <i>x</i>.<i>y</i>.<i>z</i>_<i>p</i><br> <i>x</i>.<i>y</i>.<i>z</i>-<i>ssss</i><br> </ul> where: <ul> <i>x</i> is the major version number<br> <i>y</i> is the minor version number<br> <i>z</i> is the sub-minor version number<br> <i>p</i> is the patch revision number <br> <i>ssss</i> is a string, identifying a non-release build (e.g., beta1, build47, rc1, etc.). It may only contain letters, numbers, periods, dashes, or underscores. </ul> </ul> </li> <p> <li> <code>j3d.vendor</code> <ul> String that specifies the Java 3D implementation vendor. </ul> </li> <p> <li> <code>j3d.specification.version</code> <ul> A String that defines the Java 3D specification version. This string must be of the following form: <ul> <i>x</i>.<i>y</i> </ul> where: <ul> <i>x</i> is the major version number<br> <i>y</i> is the minor version number<br> </ul> No other characters are allowed in the specification version string. </ul> </li> <p> <li> <code>j3d.specification.vendor</code> <ul> String that specifies the Java 3D specification vendor. </ul> </li> <p> <li> <code>j3d.pipeline</code> <ul> String that specifies the Java 3D rendering pipeline. This could be one of: "NATIVE_OGL", "NATIVE_D3D", or "JOGL". Others could be added in the future. </ul> </li> <p> <li> <code>j3d.renderer</code> <ul> String that specifies the underlying rendering library. This could be one of: "OpenGL" or "DirectX". Others could be added in the future. </ul> </li> <p> </ul><P><DD><DL><DT><B>Returns:</B><DD>the global Java 3D properties<DT><B>Since:</B></DT> <DD>Java 3D 1.3</DD></DL></DD></DL><HR><A NAME="addGraphStructureChangeListener(javax.media.j3d.GraphStructureChangeListener)"><!-- --></A><H3>addGraphStructureChangeListener</H3><PRE>public void <B>addGraphStructureChangeListener</B>(<A HREF="../../../javax/media/j3d/GraphStructureChangeListener.html" title="interface in javax.media.j3d">GraphStructureChangeListener</A> listener)</PRE><DL><DD>Adds the specified GraphStructureChangeListener to the set of listeners that will be notified when the graph structure is changed on a live scene graph. If the specifed listener is null no action is taken and no exception is thrown.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>listener</CODE> - the listener to add to the set.<DT><B>Since:</B></DT> <DD>Java 3D 1.4</DD></DL></DD></DL><HR><A NAME="removeGraphStructureChangeListener(javax.media.j3d.GraphStructureChangeListener)"><!-- --></A><H3>removeGraphStructureChangeListener</H3><PRE>public void <B>removeGraphStructureChangeListener</B>(<A HREF="../../../javax/media/j3d/GraphStructureChangeListener.html" title="interface in javax.media.j3d">GraphStructureChangeListener</A> listener)</PRE><DL><DD>Removes the specified GraphStructureChangeListener from the set of listeners. This method performs no function, nor does it throw an exception if the specified listener is not currently in the set or is null.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>listener</CODE> - the listener to remove from the set.<DT><B>Since:</B></DT> <DD>Java 3D 1.4</DD></DL></DD></DL><HR><A NAME="addShaderErrorListener(javax.media.j3d.ShaderErrorListener)"><!-- --></A><H3>addShaderErrorListener</H3><PRE>public void <B>addShaderErrorListener</B>(<A HREF="../../../javax/media/j3d/ShaderErrorListener.html" title="interface in javax.media.j3d">ShaderErrorListener</A> listener)</PRE><DL><DD>Adds the specified ShaderErrorListener to the set of listeners that will be notified when a programmable shader error is detected on a live scene graph. If the specifed listener is null no action is taken and no exception is thrown. If a shader error occurs, the listeners will be called asynchronously from a separate notification thread. The Java 3D renderer and behavior scheduler will continue to run as if the error had not occurred, except that shading will be disabled for the objects in error. If applications desire to detach or modify the scene graph as a result of the error, they should use a behavior post if they want that change to be synchronous with the renderer.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>listener</CODE> - the listener to add to the set.<DT><B>Since:</B></DT> <DD>Java 3D 1.4</DD></DL></DD></DL><HR><A NAME="removeShaderErrorListener(javax.media.j3d.ShaderErrorListener)"><!-- --></A><H3>removeShaderErrorListener</H3><PRE>public void <B>removeShaderErrorListener</B>(<A HREF="../../../javax/media/j3d/ShaderErrorListener.html" title="interface in javax.media.j3d">ShaderErrorListener</A> listener)</PRE><DL><DD>Removes the specified ShaderErrorListener from the set of listeners. This method performs no function, nor does it throw an exception if the specified listener is not currently in the set or is null.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>listener</CODE> - the listener to remove from the set.<DT><B>Since:</B></DT> <DD>Java 3D 1.4</DD></DL></DD></DL><HR><A NAME="addRenderingErrorListener(javax.media.j3d.RenderingErrorListener)"><!-- --></A><H3>addRenderingErrorListener</H3><PRE>public static void <B>addRenderingErrorListener</B>(<A HREF="../../../javax/media/j3d/RenderingErrorListener.html" title="interface in javax.media.j3d">RenderingErrorListener</A> listener)</PRE><DL><DD>Adds the specified RenderingErrorListener to the set of listeners that will be notified when a rendering error is detected. If the specifed listener is null no action is taken and no exception is thrown. If a rendering error occurs, the listeners will be called asynchronously from a separate notification thread. If the set of listeners is empty, a default listener is notified. The default listener prints the error information to System.err and then calls System.exit().<P><DD><DL><DT><B>Parameters:</B><DD><CODE>listener</CODE> - the listener to add to the set.<DT><B>Since:</B></DT> <DD>Java 3D 1.5</DD></DL></DD></DL><HR><A NAME="removeRenderingErrorListener(javax.media.j3d.RenderingErrorListener)"><!-- --></A><H3>removeRenderingErrorListener</H3><PRE>public static void <B>removeRenderingErrorListener</B>(<A HREF="../../../javax/media/j3d/RenderingErrorListener.html" title="interface in javax.media.j3d">RenderingErrorListener</A> listener)</PRE><DL><DD>Removes the specified RenderingErrorListener from the set of listeners. This method performs no function, nor does it throw an exception if the specified listener is not currently in the set or is null.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>listener</CODE> - the listener to remove from the set.<DT><B>Since:</B></DT> <DD>Java 3D 1.5</DD></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../javax/media/j3d/ViewSpecificGroup.html" title="class in javax.media.j3d"><B>PREV CLASS</B></A> <A HREF="../../../javax/media/j3d/WakeupAnd.html" title="class in javax.media.j3d"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?javax/media/j3d/VirtualUniverse.html" target="_top"><B>FRAMES</B></A> <A HREF="VirtualUniverse.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><font size="-1">Copyright (c) 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to <a href="../../../LICENSE-SPEC.html">license terms</a>.</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -