📄 renderingattributes.html
字号:
<BR> Retrieves the stencil function, reference value, and comparison mask, and copies them into the specified array.</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/RenderingAttributes.html#getStencilOp(int[])">getStencilOp</A></B>(int[] stencilOps)</CODE><BR> Retrieves the current set of stencil operations, and copies them into the specified array.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/RenderingAttributes.html#getStencilWriteMask()">getStencilWriteMask</A></B>()</CODE><BR> Retrieves the current stencil write mask for this RenderingAttributes object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/RenderingAttributes.html#getVisible()">getVisible</A></B>()</CODE><BR> Retrieves the visibility flag for this RenderingAttributes object.</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/RenderingAttributes.html#setAlphaTestFunction(int)">setAlphaTestFunction</A></B>(int function)</CODE><BR> Set alpha test function.</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/RenderingAttributes.html#setAlphaTestValue(float)">setAlphaTestValue</A></B>(float value)</CODE><BR> Set alpha test value used by alpha test function.</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/RenderingAttributes.html#setDepthBufferEnable(boolean)">setDepthBufferEnable</A></B>(boolean state)</CODE><BR> Enables or disables depth buffer mode for this RenderingAttributes component object.</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/RenderingAttributes.html#setDepthBufferWriteEnable(boolean)">setDepthBufferWriteEnable</A></B>(boolean state)</CODE><BR> Enables or disables writing the depth buffer for this object.</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/RenderingAttributes.html#setDepthTestFunction(int)">setDepthTestFunction</A></B>(int function)</CODE><BR> Set depth test function.</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/RenderingAttributes.html#setIgnoreVertexColors(boolean)">setIgnoreVertexColors</A></B>(boolean ignoreVertexColors)</CODE><BR> Sets a flag that indicates whether vertex colors are ignored for this RenderingAttributes object.</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/RenderingAttributes.html#setRasterOp(int)">setRasterOp</A></B>(int rasterOp)</CODE><BR> Sets the raster operation function for this RenderingAttributes component object.</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/RenderingAttributes.html#setRasterOpEnable(boolean)">setRasterOpEnable</A></B>(boolean rasterOpEnable)</CODE><BR> Sets the rasterOp enable flag for this RenderingAttributes component object.</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/RenderingAttributes.html#setStencilEnable(boolean)">setStencilEnable</A></B>(boolean state)</CODE><BR> Enables or disables the stencil buffer for this RenderingAttributes component object.</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/RenderingAttributes.html#setStencilFunction(int[])">setStencilFunction</A></B>(int[] params)</CODE><BR> Sets the stencil function, reference value, and comparison mask for this RenderingAttributes object to the specified parameters.</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/RenderingAttributes.html#setStencilFunction(int, int, int)">setStencilFunction</A></B>(int function, int refValue, int compareMask)</CODE><BR> Sets the stencil function, reference value, and comparison mask for this RenderingAttributes object to the specified parameters.</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/RenderingAttributes.html#setStencilOp(int[])">setStencilOp</A></B>(int[] stencilOps)</CODE><BR> Sets the stencil operations for this RenderingAttributes object to the specified parameters.</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/RenderingAttributes.html#setStencilOp(int, int, int)">setStencilOp</A></B>(int failOp, int zFailOp, int zPassOp)</CODE><BR> Sets the stencil operations for this RenderingAttributes object to the specified parameters.</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/RenderingAttributes.html#setStencilWriteMask(int)">setStencilWriteMask</A></B>(int mask)</CODE><BR> Sets the stencil write mask for this RenderingAttributes object.</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/RenderingAttributes.html#setVisible(boolean)">setVisible</A></B>(boolean visible)</CODE><BR> Sets the visibility flag for this RenderingAttributes component object.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_javax.media.j3d.NodeComponent"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class javax.media.j3d.<A HREF="../../../javax/media/j3d/NodeComponent.html" title="class in javax.media.j3d">NodeComponent</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../javax/media/j3d/NodeComponent.html#cloneNodeComponent(boolean)">cloneNodeComponent</A>, <A HREF="../../../javax/media/j3d/NodeComponent.html#duplicateNodeComponent(javax.media.j3d.NodeComponent)">duplicateNodeComponent</A>, <A HREF="../../../javax/media/j3d/NodeComponent.html#duplicateNodeComponent(javax.media.j3d.NodeComponent, boolean)">duplicateNodeComponent</A>, <A HREF="../../../javax/media/j3d/NodeComponent.html#getDuplicateOnCloneTree()">getDuplicateOnCloneTree</A>, <A HREF="../../../javax/media/j3d/NodeComponent.html#setDuplicateOnCloneTree(boolean)">setDuplicateOnCloneTree</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_javax.media.j3d.SceneGraphObject"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class javax.media.j3d.<A HREF="../../../javax/media/j3d/SceneGraphObject.html" title="class in javax.media.j3d">SceneGraphObject</A></B></TH></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#getName()">getName</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#setName(java.lang.String)">setName</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#setUserData(java.lang.Object)">setUserData</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#toString()">toString</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#updateNodeReferences(javax.media.j3d.NodeReferenceTable)">updateNodeReferences</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Field Detail</B></FONT></TH></TR></TABLE><A NAME="ALLOW_ALPHA_TEST_VALUE_READ"><!-- --></A><H3>ALLOW_ALPHA_TEST_VALUE_READ</H3><PRE>public static final int <B>ALLOW_ALPHA_TEST_VALUE_READ</B></PRE><DL><DD>Specifies that this RenderingAttributes object allows reading its alpha test value component information.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.RenderingAttributes.ALLOW_ALPHA_TEST_VALUE_READ">Constant Field Values</A></DL></DL><HR><A NAME="ALLOW_ALPHA_TEST_VALUE_WRITE"><!-- --></A><H3>ALLOW_ALPHA_TEST_VALUE_WRITE</H3><PRE>public static final int <B>ALLOW_ALPHA_TEST_VALUE_WRITE</B></PRE><DL><DD>Specifies that this RenderingAttributes object allows writing its alpha test value component information.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.RenderingAttributes.ALLOW_ALPHA_TEST_VALUE_WRITE">Constant Field Values</A></DL></DL><HR><A NAME="ALLOW_ALPHA_TEST_FUNCTION_READ"><!-- --></A><H3>ALLOW_ALPHA_TEST_FUNCTION_READ</H3><PRE>public static final int <B>ALLOW_ALPHA_TEST_FUNCTION_READ</B></PRE><DL><DD>Specifies that this RenderingAttributes object allows reading its alpha test function component information.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.RenderingAttributes.ALLOW_ALPHA_TEST_FUNCTION_READ">Constant Field Values</A></DL></DL><HR><A NAME="ALLOW_ALPHA_TEST_FUNCTION_WRITE"><!-- --></A><H3>ALLOW_ALPHA_TEST_FUNCTION_WRITE</H3><PRE>public static final int <B>ALLOW_ALPHA_TEST_FUNCTION_WRITE</B></PRE><DL><DD>Specifies that this RenderingAttributes object allows writing its alpha test function component information.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.RenderingAttributes.ALLOW_ALPHA_TEST_FUNCTION_WRITE">Constant Field Values</A></DL></DL><HR><A NAME="ALLOW_DEPTH_TEST_FUNCTION_READ"><!-- --></A><H3>ALLOW_DEPTH_TEST_FUNCTION_READ</H3><PRE>public static final int <B>ALLOW_DEPTH_TEST_FUNCTION_READ</B></PRE><DL><DD>Specifies that this RenderingAttributes object allows reading its depth test function component information.<P><DL><DT><B>Since:</B></DT> <DD>Java 3D 1.4</DD><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.RenderingAttributes.ALLOW_DEPTH_TEST_FUNCTION_READ">Constant Field Values</A></DL></DL><HR><A NAME="ALLOW_DEPTH_TEST_FUNCTION_WRITE"><!-- --></A><H3>ALLOW_DEPTH_TEST_FUNCTION_WRITE</H3><PRE>public static final int <B>ALLOW_DEPTH_TEST_FUNCTION_WRITE</B></PRE><DL><DD>Specifies that this RenderingAttributes object allows writing its depth test function component information.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -