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

📄 renderingattributes.html

📁 java 3d帮助文档
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<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>See Also:</B><DD><A HREF="../../../javax/media/j3d/View.html#setDepthBufferFreezeTransparent(boolean)"><CODE>View.setDepthBufferFreezeTransparent(boolean)</CODE></A></DL></DD></DL><HR><A NAME="getDepthBufferWriteEnable()"><!-- --></A><H3>getDepthBufferWriteEnable</H3><PRE>public boolean <B>getDepthBufferWriteEnable</B>()</PRE><DL><DD>Retrieves the state of Depth Buffer Write Enable flag.<P><DD><DL><DT><B>Returns:</B><DD>true if depth buffer is writable, false if depth buffer is read-only<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="setAlphaTestValue(float)"><!-- --></A><H3>setAlphaTestValue</H3><PRE>public void <B>setAlphaTestValue</B>(float&nbsp;value)</PRE><DL><DD>Set alpha test value used by alpha test function.  This value is compared to the alpha value of each rendered pixel.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - the alpha test value<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="getAlphaTestValue()"><!-- --></A><H3>getAlphaTestValue</H3><PRE>public float <B>getAlphaTestValue</B>()</PRE><DL><DD>Retrieves the alpha test value.<P><DD><DL><DT><B>Returns:</B><DD>the alpha test value.<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="setAlphaTestFunction(int)"><!-- --></A><H3>setAlphaTestFunction</H3><PRE>public void <B>setAlphaTestFunction</B>(int&nbsp;function)</PRE><DL><DD>Set alpha test function.  This function is used to compare the alpha test value with each per-pixel alpha value.  If the test passes, the pixel is written otherwise the pixel is not written.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>function</CODE> - the new alpha test function.  One of ALWAYS, NEVER, EQUAL, NOT_EQUAL, LESS, LESS_OR_EQUAL, GREATER, GREATER_OR_EQUAL<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="getAlphaTestFunction()"><!-- --></A><H3>getAlphaTestFunction</H3><PRE>public int <B>getAlphaTestFunction</B>()</PRE><DL><DD>Retrieves current alpha test function.<P><DD><DL><DT><B>Returns:</B><DD>the current alpha test function<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="setVisible(boolean)"><!-- --></A><H3>setVisible</H3><PRE>public void <B>setVisible</B>(boolean&nbsp;visible)</PRE><DL><DD>Sets the visibility flag for this RenderingAttributes component object.  Invisible objects are not rendered (subject to the visibility policy for the current view), but they can be picked or collided with. The default value is true.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>visible</CODE> - true or false to enable or disable visibility<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.2</DD></DD><DT><B>See Also:</B><DD><A HREF="../../../javax/media/j3d/View.html#setVisibilityPolicy(int)"><CODE>View.setVisibilityPolicy(int)</CODE></A></DL></DD></DL><HR><A NAME="getVisible()"><!-- --></A><H3>getVisible</H3><PRE>public boolean <B>getVisible</B>()</PRE><DL><DD>Retrieves the visibility flag for this RenderingAttributes object.<P><DD><DL><DT><B>Returns:</B><DD>true if the object is visible; false if the object is invisible.<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.2</DD></DD></DL></DD></DL><HR><A NAME="setIgnoreVertexColors(boolean)"><!-- --></A><H3>setIgnoreVertexColors</H3><PRE>public void <B>setIgnoreVertexColors</B>(boolean&nbsp;ignoreVertexColors)</PRE><DL><DD>Sets a flag that indicates whether vertex colors are ignored for this RenderingAttributes object.  If <code>ignoreVertexColors</code> is false, per-vertex colors are used, when present in the associated Geometry objects, taking precedence over the ColoringAttributes color and the specified Material color(s).  If <code>ignoreVertexColors</code> is true, per-vertex colors are ignored.  In this case, if lighting is enabled, the Material diffuse color will be used as the object color.  If lighting is disabled, the ColoringAttributes color will be used.  The default value is false.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>ignoreVertexColors</CODE> - true or false to enable or disable the ignoring of per-vertex colors<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.2</DD></DD><DT><B>See Also:</B><DD><A HREF="../../../javax/media/j3d/ColoringAttributes.html"><CODE>ColoringAttributes</CODE></A>, <A HREF="../../../javax/media/j3d/Material.html"><CODE>Material</CODE></A></DL></DD></DL><HR><A NAME="getIgnoreVertexColors()"><!-- --></A><H3>getIgnoreVertexColors</H3><PRE>public boolean <B>getIgnoreVertexColors</B>()</PRE><DL><DD>Retrieves the ignoreVertexColors flag for this RenderingAttributes object.<P><DD><DL><DT><B>Returns:</B><DD>true if per-vertex colors are ignored; false if per-vertex colors are used.<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.2</DD></DD></DL></DD></DL><HR><A NAME="setRasterOpEnable(boolean)"><!-- --></A><H3>setRasterOpEnable</H3><PRE>public void <B>setRasterOpEnable</B>(boolean&nbsp;rasterOpEnable)</PRE><DL><DD>Sets the rasterOp enable flag for this RenderingAttributes component object.  When set to true, this enables logical raster operations as specified by the setRasterOp method. Enabling raster operations effectively disables alpha blending, which is used for transparency and antialiasing.  Raster operations, especially XOR mode, are primarily useful when rendering to the front buffer in immediate mode.  Most applications will not wish to enable this mode.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>rasterOpEnable</CODE> - true or false to enable or disable raster operations<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.2</DD></DD><DT><B>See Also:</B><DD><A HREF="../../../javax/media/j3d/RenderingAttributes.html#setRasterOp(int)"><CODE>setRasterOp(int)</CODE></A></DL></DD></DL><HR><A NAME="getRasterOpEnable()"><!-- --></A><H3>getRasterOpEnable</H3><PRE>public boolean <B>getRasterOpEnable</B>()</PRE><DL><DD>Retrieves the rasterOp enable flag for this RenderingAttributes object.<P><DD><DL><DT><B>Returns:</B><DD>true if raster operations are enabled; false if raster operations are disabled.<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.2</DD></DD></DL></DD></DL><HR><A NAME="setRasterOp(int)"><!-- --></A><H3>setRasterOp</H3><PRE>public void <B>setRasterOp</B>(int&nbsp;rasterOp)</PRE><DL><DD>Sets the raster operation function for this RenderingAttributes component object.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>rasterOp</CODE> - the logical raster operation, one of ROP_COPY or ROP_XOR<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.2</DD></DD></DL></DD></DL><HR><A NAME="getRasterOp()"><!-- --></A><H3>getRasterOp</H3><PRE>public int <B>getRasterOp</B>()</PRE><DL><DD>Retrieves the current raster operation for this RenderingAttributes object.<P><DD><DL><DT><B>Returns:</B><DD>one of ROP_COPY or ROP_XOR.<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.2</DD></DD></DL></DD></DL><HR><A NAME="cloneNodeComponent()"><!-- --></A><H3>cloneNodeComponent</H3><PRE>public <A HREF="../../../javax/media/j3d/NodeComponent.html">NodeComponent</A> <B>cloneNodeComponent</B>()</PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>replaced with cloneNodeComponent(boolean forceDuplicate)</I><P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/media/j3d/NodeComponent.html#cloneNodeComponent()">cloneNodeComponent</A></CODE> in class <CODE><A HREF="../../../javax/media/j3d/NodeComponent.html">NodeComponent</A></CODE></DL></DD><DD><DL></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/Raster.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../javax/media/j3d/RotationInterpolator.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="RenderingAttributes.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 + -