📄 transparencyattributes.html
字号:
<TD><CODE><B><A HREF="../../../javax/media/j3d/TransparencyAttributes.html#BLEND_SRC_COLOR">BLEND_SRC_COLOR</A></B></CODE><BR> Blend function: <code>f = color<sub><font size=-1>src</font></sub></code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/TransparencyAttributes.html#BLEND_ZERO">BLEND_ZERO</A></B></CODE><BR> Blend function: <code>f = 0</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/TransparencyAttributes.html#BLENDED">BLENDED</A></B></CODE><BR> Use alpha blended transparency.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/TransparencyAttributes.html#FASTEST">FASTEST</A></B></CODE><BR> Use the fastest available method for transparency.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/TransparencyAttributes.html#NICEST">NICEST</A></B></CODE><BR> Use the nicest available method for transparency.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/TransparencyAttributes.html#NONE">NONE</A></B></CODE><BR> No transparency, opaque object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/TransparencyAttributes.html#SCREEN_DOOR">SCREEN_DOOR</A></B></CODE><BR> Use screen-door transparency.</TD></TR></TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --><A NAME="constructor_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Constructor Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/media/j3d/TransparencyAttributes.html#TransparencyAttributes()">TransparencyAttributes</A></B>()</CODE><BR> Constructs a TransparencyAttributes object with default parameters.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/media/j3d/TransparencyAttributes.html#TransparencyAttributes(int, float)">TransparencyAttributes</A></B>(int tMode, float tVal)</CODE><BR> Construct TransparencyAttributes object with specified values.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/media/j3d/TransparencyAttributes.html#TransparencyAttributes(int, float, int, int)">TransparencyAttributes</A></B>(int tMode, float tVal, int srcBlendFunction, int dstBlendFunction)</CODE><BR> Construct TransparencyAttributes object with specified values.</TD></TR></TABLE> <!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Method Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../javax/media/j3d/NodeComponent.html" title="class in javax.media.j3d">NodeComponent</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/TransparencyAttributes.html#cloneNodeComponent()">cloneNodeComponent</A></B>()</CODE><BR> <B>Deprecated.</B> <I>replaced with cloneNodeComponent(boolean forceDuplicate)</I></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/TransparencyAttributes.html#getDstBlendFunction()">getDstBlendFunction</A></B>()</CODE><BR> Gets the destination blend function for this TransparencyAttributes object.</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/TransparencyAttributes.html#getSrcBlendFunction()">getSrcBlendFunction</A></B>()</CODE><BR> Gets the source blend function for this TransparencyAttributes object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> float</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/TransparencyAttributes.html#getTransparency()">getTransparency</A></B>()</CODE><BR> Retrieves this appearance's transparency.</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/TransparencyAttributes.html#getTransparencyMode()">getTransparencyMode</A></B>()</CODE><BR> Gets the transparency mode for this appearance 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/TransparencyAttributes.html#setDstBlendFunction(int)">setDstBlendFunction</A></B>(int blendFunction)</CODE><BR> Sets the destination blend function used in blended transparency and antialiasing operations.</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/TransparencyAttributes.html#setSrcBlendFunction(int)">setSrcBlendFunction</A></B>(int blendFunction)</CODE><BR> Sets the source blend function used in blended transparency and antialiasing operations.</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/TransparencyAttributes.html#setTransparency(float)">setTransparency</A></B>(float transparency)</CODE><BR> Sets this appearance's transparency.</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/TransparencyAttributes.html#setTransparencyMode(int)">setTransparencyMode</A></B>(int transparencyMode)</CODE><BR> Sets the transparency mode for this appearance 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_MODE_READ"><!-- --></A><H3>ALLOW_MODE_READ</H3><PRE>public static final int <B>ALLOW_MODE_READ</B></PRE><DL><DD>Specifies that this TransparencyAttributes object allows reading its transparency mode component information.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.TransparencyAttributes.ALLOW_MODE_READ">Constant Field Values</A></DL></DL><HR><A NAME="ALLOW_MODE_WRITE"><!-- --></A><H3>ALLOW_MODE_WRITE</H3><PRE>public static final int <B>ALLOW_MODE_WRITE</B></PRE><DL><DD>Specifies that this TransparencyAttributes object allows writing its transparency mode component information.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.TransparencyAttributes.ALLOW_MODE_WRITE">Constant Field Values</A></DL></DL><HR><A NAME="ALLOW_VALUE_READ"><!-- --></A><H3>ALLOW_VALUE_READ</H3><PRE>public static final int <B>ALLOW_VALUE_READ</B></PRE><DL><DD>Specifies that this TransparencyAttributes object allows reading its transparency value.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.TransparencyAttributes.ALLOW_VALUE_READ">Constant Field Values</A></DL></DL><HR><A NAME="ALLOW_VALUE_WRITE"><!-- --></A><H3>ALLOW_VALUE_WRITE</H3><PRE>public static final int <B>ALLOW_VALUE_WRITE</B></PRE><DL><DD>Specifies that this TransparencyAttributes object allows writing its transparency value.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.TransparencyAttributes.ALLOW_VALUE_WRITE">Constant Field Values</A></DL></DL><HR><A NAME="ALLOW_BLEND_FUNCTION_READ"><!-- --></A><H3>ALLOW_BLEND_FUNCTION_READ</H3><PRE>public static final int <B>ALLOW_BLEND_FUNCTION_READ</B></PRE><DL><DD>Specifies that this TransparencyAttributes object allows reading its blend function.<P><DL><DT><B>Since:</B></DT> <DD>Java 3D 1.2</DD><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.TransparencyAttributes.ALLOW_BLEND_FUNCTION_READ">Constant Field Values</A></DL></DL><HR><A NAME="ALLOW_BLEND_FUNCTION_WRITE"><!-- --></A><H3>ALLOW_BLEND_FUNCTION_WRITE</H3><PRE>public static final int <B>ALLOW_BLEND_FUNCTION_WRITE</B></PRE><DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -