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

📄 fog.html

📁 java 3d帮助文档
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/CapabilityNotSetException.html">CapabilityNotSetException</A></CODE> - if appropriate capability is not set and this object is part of live or compiled scene graph</DL></DD></DL><HR><A NAME="getInfluencingBoundingLeaf()"><!-- --></A><H3>getInfluencingBoundingLeaf</H3><PRE>public <A HREF="../../../javax/media/j3d/BoundingLeaf.html">BoundingLeaf</A> <B>getInfluencingBoundingLeaf</B>()</PRE><DL><DD>Retrieves the Fog node's influencing bounding leaf.<P><DD><DL><DT><B>Returns:</B><DD>this Fog's influencing bounding leaf information<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/CapabilityNotSetException.html">CapabilityNotSetException</A></CODE> - if appropriate capability is not set and this object is part of live or compiled scene graph</DL></DD></DL><HR><A NAME="setScope(javax.media.j3d.Group, int)"><!-- --></A><H3>setScope</H3><PRE>public void <B>setScope</B>(<A HREF="../../../javax/media/j3d/Group.html">Group</A>&nbsp;scope,                     int&nbsp;index)</PRE><DL><DD>Replaces the node at the specified index in this Fog node's list of scopes with the specified Group node. By default, Fog nodes are scoped only by their influencing bounds.  This allows them to be further scoped by a list of nodes in the hierarchy.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>scope</CODE> - the Group node to be stored at the specified index.<DD><CODE>index</CODE> - the index of the Group node to be replaced.<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/CapabilityNotSetException.html">CapabilityNotSetException</A></CODE> - if appropriate capability is not set and this object is part of live or compiled scene graph<DD><CODE><A HREF="../../../javax/media/j3d/RestrictedAccessException.html">RestrictedAccessException</A></CODE> - if the specified group node is part of a compiled scene graph</DL></DD></DL><HR><A NAME="getScope(int)"><!-- --></A><H3>getScope</H3><PRE>public <A HREF="../../../javax/media/j3d/Group.html">Group</A> <B>getScope</B>(int&nbsp;index)</PRE><DL><DD>Retrieves the Group node at the specified index from this Fog node's list of scopes.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the index of the Group node to be returned.<DT><B>Returns:</B><DD>the Group node at the specified index.<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/CapabilityNotSetException.html">CapabilityNotSetException</A></CODE> - if appropriate capability is not set and this object is part of live or compiled scene graph</DL></DD></DL><HR><A NAME="insertScope(javax.media.j3d.Group, int)"><!-- --></A><H3>insertScope</H3><PRE>public void <B>insertScope</B>(<A HREF="../../../javax/media/j3d/Group.html">Group</A>&nbsp;scope,                        int&nbsp;index)</PRE><DL><DD>Inserts the specified Group node into this Fog node's list of scopes at the specified index. By default, Fog nodes are scoped only by their influencing bounds.  This allows them to be further scoped by a list of nodes in the hierarchy.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>scope</CODE> - the Group node to be inserted at the specified index.<DD><CODE>index</CODE> - the index at which the Group node is inserted.<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/CapabilityNotSetException.html">CapabilityNotSetException</A></CODE> - if appropriate capability is not set and this object is part of live or compiled scene graph<DD><CODE><A HREF="../../../javax/media/j3d/RestrictedAccessException.html">RestrictedAccessException</A></CODE> - if the specified group node is part of a compiled scene graph</DL></DD></DL><HR><A NAME="removeScope(int)"><!-- --></A><H3>removeScope</H3><PRE>public void <B>removeScope</B>(int&nbsp;index)</PRE><DL><DD>Removes the node at the specified index from this Fog node's list of scopes.  If this operation causes the list of scopes to become empty, then this Fog will have universe scope: all nodes within the region of influence will be affected by this Fog node.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the index of the Group node to be removed.<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/CapabilityNotSetException.html">CapabilityNotSetException</A></CODE> - if appropriate capability is not set and this object is part of live or compiled scene graph<DD><CODE><A HREF="../../../javax/media/j3d/RestrictedAccessException.html">RestrictedAccessException</A></CODE> - if the group node at the specified index is part of a compiled scene graph</DL></DD></DL><HR><A NAME="getAllScopes()"><!-- --></A><H3>getAllScopes</H3><PRE>public java.util.Enumeration <B>getAllScopes</B>()</PRE><DL><DD>Returns an enumeration of this Fog node's list of scopes.<P><DD><DL><DT><B>Returns:</B><DD>an Enumeration object containing all nodes in this Fog node's list of scopes.<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/CapabilityNotSetException.html">CapabilityNotSetException</A></CODE> - if appropriate capability is not set and this object is part of live or compiled scene graph</DL></DD></DL><HR><A NAME="addScope(javax.media.j3d.Group)"><!-- --></A><H3>addScope</H3><PRE>public void <B>addScope</B>(<A HREF="../../../javax/media/j3d/Group.html">Group</A>&nbsp;scope)</PRE><DL><DD>Appends the specified Group node to this Fog node's list of scopes. By default, Fog nodes are scoped only by their influencing bounds.  This allows them to be further scoped by a list of nodes in the hierarchy.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>scope</CODE> - the Group node to be appended.<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/CapabilityNotSetException.html">CapabilityNotSetException</A></CODE> - if appropriate capability is not set and this object is part of live or compiled scene graph<DD><CODE><A HREF="../../../javax/media/j3d/RestrictedAccessException.html">RestrictedAccessException</A></CODE> - if the specified group node is part of a compiled scene graph</DL></DD></DL><HR><A NAME="numScopes()"><!-- --></A><H3>numScopes</H3><PRE>public int <B>numScopes</B>()</PRE><DL><DD>Returns the number of nodes in this Fog node's list of scopes. If this number is 0, then the list of scopes is empty and this Fog node has universe scope: all nodes within the region of influence are affected by this Fog node.<P><DD><DL><DT><B>Returns:</B><DD>the number of nodes in this Fog node's list of scopes.<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/CapabilityNotSetException.html">CapabilityNotSetException</A></CODE> - if appropriate capability is not set and this object is part of live or compiled scene graph</DL></DD></DL><HR><A NAME="indexOfScope(javax.media.j3d.Group)"><!-- --></A><H3>indexOfScope</H3><PRE>public int <B>indexOfScope</B>(<A HREF="../../../javax/media/j3d/Group.html">Group</A>&nbsp;scope)</PRE><DL><DD>Retrieves the index of the specified Group node in this Fog node's list of scopes.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>scope</CODE> - the Group node to be looked up.<DT><B>Returns:</B><DD>the index of the specified Group node; returns -1 if the object is not in the list.<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/CapabilityNotSetException.html">CapabilityNotSetException</A></CODE> - if appropriate capability is not set and this object is part of live or compiled scene graph<DT><B>Since:</B><DD>Java 3D 1.3</DD></DD></DL></DD></DL><HR><A NAME="removeScope(javax.media.j3d.Group)"><!-- --></A><H3>removeScope</H3><PRE>public void <B>removeScope</B>(<A HREF="../../../javax/media/j3d/Group.html">Group</A>&nbsp;scope)</PRE><DL><DD>Removes the specified Group node from this Fog node's list of scopes.  If the specified object is not in the list, the list is not modified.  If this operation causes the list of scopes to become empty, then this Fog will have universe scope: all nodes within the region of influence will be affected by this Fog node.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>scope</CODE> - the Group node to be removed.<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/CapabilityNotSetException.html">CapabilityNotSetException</A></CODE> - if appropriate capability is not set and this object is part of live or compiled scene graph<DD><CODE><A HREF="../../../javax/media/j3d/RestrictedAccessException.html">RestrictedAccessException</A></CODE> - if the specified group node is part of a compiled scene graph<DT><B>Since:</B><DD>Java 3D 1.3</DD></DD></DL></DD></DL><HR><A NAME="removeAllScopes()"><!-- --></A><H3>removeAllScopes</H3><PRE>public void <B>removeAllScopes</B>()</PRE><DL><DD>Removes all Group nodes from this Fog node's list of scopes.  The Fog node will then have universe scope: all nodes within the region of influence will be affected by this Fog node.<P><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/CapabilityNotSetException.html">CapabilityNotSetException</A></CODE> - if appropriate capability is not set and this object is part of live or compiled scene graph<DD><CODE><A HREF="../../../javax/media/j3d/RestrictedAccessException.html">RestrictedAccessException</A></CODE> - if any group node in this node's list of scopes is part of a compiled scene graph<DT><B>Since:</B><DD>Java 3D 1.3</DD></DD></DL></DD></DL><HR><A NAME="updateNodeReferences(javax.media.j3d.NodeReferenceTable)"><!-- --></A><H3>updateNodeReferences</H3><PRE>public void <B>updateNodeReferences</B>(<A HREF="../../../javax/media/j3d/NodeReferenceTable.html">NodeReferenceTable</A>&nbsp;referenceTable)</PRE><DL><DD>Callback used to allow a node to check if any nodes referenced by that node have been duplicated via a call to <code>cloneTree</code>. This method is called by <code>cloneTree</code> after all nodes in the sub-graph have been duplicated. The cloned Leaf node's method will be called and the Leaf node can then look up any node references by using the <code>getNewObjectReference</code> method found in the <code>NodeReferenceTable</code> object.  If a match is found, a reference to the corresponding Node in the newly cloned sub-graph is returned.  If no corresponding reference is found, either a DanglingReferenceException is thrown or a reference to the original node is returned depending on the value of the <code>allowDanglingReferences</code> parameter passed in the <code>cloneTree</code> call. <p> NOTE: Applications should <i>not</i> call this method directly. It should only be called by the cloneTree method.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/media/j3d/SceneGraphObject.html#updateNodeReferences(javax.media.j3d.NodeReferenceTable)">updateNodeReferences</A></CODE> in class <CODE><A HREF="../../../javax/media/j3d/SceneGraphObject.html">SceneGraphObject</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>referenceTable</CODE> - a NodeReferenceTableObject that contains the  <code>getNewObjectReference</code> method needed to search for  new object instances.<DT><B>See Also:</B><DD><A HREF="../../../javax/media/j3d/NodeReferenceTable.html"><CODE>NodeReferenceTable</CODE></A>, <A HREF="../../../javax/media/j3d/Node.html#cloneTree()"><CODE>Node.cloneTree()</CODE></A>, <A HREF="../../../javax/media/j3d/DanglingReferenceException.html"><CODE>DanglingReferenceException</CODE></A></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../javax/media/j3d/ExponentialFog.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../javax/media/j3d/Font3D.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="Fog.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT>  <!--  if(window==top) {    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT><A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>

⌨️ 快捷键说明

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