📄 fog.html
字号:
<BR> Removes the node at the specified index from this Fog node's list of scopes.</TD></TR><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="../../../javax/media/j3d/Fog.html#setColor(javax.vecmath.Color3f)">setColor</A></B>(<A HREF="../../../javax/vecmath/Color3f.html">Color3f</A> color)</CODE><BR> Sets the fog color to the specified color.</TD></TR><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="../../../javax/media/j3d/Fog.html#setColor(float, float, float)">setColor</A></B>(float r, float g, float b)</CODE><BR> Sets the fog color to the specified color.</TD></TR><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="../../../javax/media/j3d/Fog.html#setInfluencingBoundingLeaf(javax.media.j3d.BoundingLeaf)">setInfluencingBoundingLeaf</A></B>(<A HREF="../../../javax/media/j3d/BoundingLeaf.html">BoundingLeaf</A> region)</CODE><BR> Sets the Fog's influencing region to the specified bounding leaf.</TD></TR><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="../../../javax/media/j3d/Fog.html#setInfluencingBounds(javax.media.j3d.Bounds)">setInfluencingBounds</A></B>(<A HREF="../../../javax/media/j3d/Bounds.html">Bounds</A> region)</CODE><BR> Sets the Fog's influencing region to the specified bounds.</TD></TR><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="../../../javax/media/j3d/Fog.html#setScope(javax.media.j3d.Group, int)">setScope</A></B>(<A HREF="../../../javax/media/j3d/Group.html">Group</A> scope, int index)</CODE><BR> Replaces the node at the specified index in this Fog node's list of scopes with the specified Group node.</TD></TR><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="../../../javax/media/j3d/Fog.html#updateNodeReferences(javax.media.j3d.NodeReferenceTable)">updateNodeReferences</A></B>(<A HREF="../../../javax/media/j3d/NodeReferenceTable.html">NodeReferenceTable</A> referenceTable)</CODE><BR> 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>.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_javax.media.j3d.Node"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class javax.media.j3d.<A HREF="../../../javax/media/j3d/Node.html">Node</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../javax/media/j3d/Node.html#cloneNode(boolean)">cloneNode</A>, <A HREF="../../../javax/media/j3d/Node.html#cloneTree()">cloneTree</A>, <A HREF="../../../javax/media/j3d/Node.html#cloneTree(boolean)">cloneTree</A>, <A HREF="../../../javax/media/j3d/Node.html#cloneTree(boolean, boolean)">cloneTree</A>, <A HREF="../../../javax/media/j3d/Node.html#cloneTree(javax.media.j3d.NodeReferenceTable)">cloneTree</A>, <A HREF="../../../javax/media/j3d/Node.html#cloneTree(javax.media.j3d.NodeReferenceTable, boolean)">cloneTree</A>, <A HREF="../../../javax/media/j3d/Node.html#cloneTree(javax.media.j3d.NodeReferenceTable, boolean, boolean)">cloneTree</A>, <A HREF="../../../javax/media/j3d/Node.html#duplicateNode(javax.media.j3d.Node, boolean)">duplicateNode</A>, <A HREF="../../../javax/media/j3d/Node.html#getBounds()">getBounds</A>, <A HREF="../../../javax/media/j3d/Node.html#getBoundsAutoCompute()">getBoundsAutoCompute</A>, <A HREF="../../../javax/media/j3d/Node.html#getCollidable()">getCollidable</A>, <A HREF="../../../javax/media/j3d/Node.html#getLocalToVworld(javax.media.j3d.SceneGraphPath, javax.media.j3d.Transform3D)">getLocalToVworld</A>, <A HREF="../../../javax/media/j3d/Node.html#getLocalToVworld(javax.media.j3d.Transform3D)">getLocalToVworld</A>, <A HREF="../../../javax/media/j3d/Node.html#getParent()">getParent</A>, <A HREF="../../../javax/media/j3d/Node.html#getPickable()">getPickable</A>, <A HREF="../../../javax/media/j3d/Node.html#setBounds(javax.media.j3d.Bounds)">setBounds</A>, <A HREF="../../../javax/media/j3d/Node.html#setBoundsAutoCompute(boolean)">setBoundsAutoCompute</A>, <A HREF="../../../javax/media/j3d/Node.html#setCollidable(boolean)">setCollidable</A>, <A HREF="../../../javax/media/j3d/Node.html#setPickable(boolean)">setPickable</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_javax.media.j3d.SceneGraphObject"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class javax.media.j3d.<A HREF="../../../javax/media/j3d/SceneGraphObject.html">SceneGraphObject</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../javax/media/j3d/SceneGraphObject.html#clearCapability(int)">clearCapability</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#clearCapabilityIsFrequent(int)">clearCapabilityIsFrequent</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#duplicateSceneGraphObject(javax.media.j3d.SceneGraphObject)">duplicateSceneGraphObject</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#getCapability(int)">getCapability</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#getCapabilityIsFrequent(int)">getCapabilityIsFrequent</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#getUserData()">getUserData</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#isCompiled()">isCompiled</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#isLive()">isLive</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#setCapability(int)">setCapability</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#setCapabilityIsFrequent(int)">setCapabilityIsFrequent</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#setUserData(java.lang.Object)">setUserData</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></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" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="ALLOW_INFLUENCING_BOUNDS_READ"><!-- --></A><H3>ALLOW_INFLUENCING_BOUNDS_READ</H3><PRE>public static final int <B>ALLOW_INFLUENCING_BOUNDS_READ</B></PRE><DL><DD>Specifies that this Fog node allows read access to its influencing bounds and bounds leaf information.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.Fog.ALLOW_INFLUENCING_BOUNDS_READ">Constant Field Values</A></DL></DL><HR><A NAME="ALLOW_INFLUENCING_BOUNDS_WRITE"><!-- --></A><H3>ALLOW_INFLUENCING_BOUNDS_WRITE</H3><PRE>public static final int <B>ALLOW_INFLUENCING_BOUNDS_WRITE</B></PRE><DL><DD>Specifies that this Fog node allows write access to its influencing bounds and bounds leaf information.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.Fog.ALLOW_INFLUENCING_BOUNDS_WRITE">Constant Field Values</A></DL></DL><HR><A NAME="ALLOW_COLOR_READ"><!-- --></A><H3>ALLOW_COLOR_READ</H3><PRE>public static final int <B>ALLOW_COLOR_READ</B></PRE><DL><DD>Specifies that this Fog node allows read access to its color information.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.Fog.ALLOW_COLOR_READ">Constant Field Values</A></DL></DL><HR><A NAME="ALLOW_COLOR_WRITE"><!-- --></A><H3>ALLOW_COLOR_WRITE</H3><PRE>public static final int <B>ALLOW_COLOR_WRITE</B></PRE><DL><DD>Specifies that this Fog node allows write access to its color information.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.Fog.ALLOW_COLOR_WRITE">Constant Field Values</A></DL></DL><HR><A NAME="ALLOW_SCOPE_READ"><!-- --></A><H3>ALLOW_SCOPE_READ</H3><PRE>public static final int <B>ALLOW_SCOPE_READ</B></PRE><DL><DD>Specifies that this Fog node allows read access to its scope information at runtime.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.Fog.ALLOW_SCOPE_READ">Constant Field Values</A></DL></DL><HR><A NAME="ALLOW_SCOPE_WRITE"><!-- --></A><H3>ALLOW_SCOPE_WRITE</H3><PRE>public static final int <B>ALLOW_SCOPE_WRITE</B></PRE><DL><DD>Specifies that this Fog node allows write access to its scope information at runtime.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.Fog.ALLOW_SCOPE_WRITE">Constant Field Values</A></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="Fog()"><!-- --></A><H3>Fog</H3><PRE>public <B>Fog</B>()</PRE><DL><DD>Constructs a Fog node with default parameters. The default values are as follows: <ul> color : black (0,0,0)<br> scope : empty (universe scope)<br> influencing bounds : null<br> influencing bounding leaf : null<br> </ul><P></DL><HR><A NAME="Fog(javax.vecmath.Color3f)"><!-- --></A><H3>Fog</H3><PRE>public <B>Fog</B>(<A HREF="../../../javax/vecmath/Color3f.html">Color3f</A> color)</PRE><DL><DD>Constructs a Fog node with the specified fog color.<P><DT><B>Parameters:</B><DD><CODE>color</CODE> - the fog color</DL><HR><A NAME="Fog(float, float, float)"><!-- --></A><H3>Fog</H3><PRE>public <B>Fog</B>(float r, float g, float b)</PRE><DL><DD>Constructs a Fog node with the specified fog color.<P><DT><B>Parameters:</B><DD><CODE>r</CODE> - the red component of the fog color<DD><CODE>g</CODE> - the green component of the fog color<DD><CODE>b</CODE> - the blue component of the fog color</DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="setColor(javax.vecmath.Color3f)"><!-- --></A><H3>setColor</H3><PRE>public void <B>setColor</B>(<A HREF="../../../javax/vecmath/Color3f.html">Color3f</A> color)</PRE><DL><DD>Sets the fog color to the specified color.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>color</CODE> - the new fog color<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="setColor(float, float, float)"><!-- --></A><H3>setColor</H3><PRE>public void <B>setColor</B>(float r, float g, float b)</PRE><DL><DD>Sets the fog color to the specified color.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>r</CODE> - the red component of the fog color<DD><CODE>g</CODE> - the green component of the fog color<DD><CODE>b</CODE> - the blue component of the fog color<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="getColor(javax.vecmath.Color3f)"><!-- --></A><H3>getColor</H3><PRE>public void <B>getColor</B>(<A HREF="../../../javax/vecmath/Color3f.html">Color3f</A> color)</PRE><DL><DD>Retrieves the fog color.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>color</CODE> - the vector that will receive the current fog color<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="setInfluencingBounds(javax.media.j3d.Bounds)"><!-- --></A><H3>setInfluencingBounds</H3><PRE>public void <B>setInfluencingBounds</B>(<A HREF="../../../javax/media/j3d/Bounds.html">Bounds</A> region)</PRE><DL><DD>Sets the Fog's influencing region to the specified bounds. This is used when the influencing bounding leaf is set to null.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>region</CODE> - the bounds that contains the Fog's new influencing region.<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="getInfluencingBounds()"><!-- --></A><H3>getInfluencingBounds</H3><PRE>public <A HREF="../../../javax/media/j3d/Bounds.html">Bounds</A> <B>getInfluencingBounds</B>()</PRE><DL><DD>Retrieves the Fog node's influencing bounds.<P><DD><DL><DT><B>Returns:</B><DD>this Fog's influencing bounds 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="setInfluencingBoundingLeaf(javax.media.j3d.BoundingLeaf)"><!-- --></A><H3>setInfluencingBoundingLeaf</H3><PRE>public void <B>setInfluencingBoundingLeaf</B>(<A HREF="../../../javax/media/j3d/BoundingLeaf.html">BoundingLeaf</A> region)</PRE><DL><DD>Sets the Fog's influencing region to the specified bounding leaf. When set to a value other than null, this overrides the influencing bounds object.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>region</CODE> - the bounding leaf node used to specify the Fog node's new influencing region.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -