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

📄 textureunitstate.html

📁 JAVA多媒体开发类库说明
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/TextureUnitState.html#duplicateNodeComponent(javax.media.j3d.NodeComponent)">duplicateNodeComponent</A></B>(<A HREF="../../../javax/media/j3d/NodeComponent.html" title="class in javax.media.j3d">NodeComponent</A>&nbsp;originalNodeComponent)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>replaced with duplicateNodeComponent(  NodeComponent originalNodeComponent, boolean forceDuplicate)</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../javax/media/j3d/TexCoordGeneration.html" title="class in javax.media.j3d">TexCoordGeneration</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/TextureUnitState.html#getTexCoordGeneration()">getTexCoordGeneration</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the current texCoordGeneration object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../javax/media/j3d/Texture.html" title="class in javax.media.j3d">Texture</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/TextureUnitState.html#getTexture()">getTexture</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the current texture object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../javax/media/j3d/TextureAttributes.html" title="class in javax.media.j3d">TextureAttributes</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/TextureUnitState.html#getTextureAttributes()">getTextureAttributes</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the current textureAttributes object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/TextureUnitState.html#set(javax.media.j3d.Texture, javax.media.j3d.TextureAttributes, javax.media.j3d.TexCoordGeneration)">set</A></B>(<A HREF="../../../javax/media/j3d/Texture.html" title="class in javax.media.j3d">Texture</A>&nbsp;texture,    <A HREF="../../../javax/media/j3d/TextureAttributes.html" title="class in javax.media.j3d">TextureAttributes</A>&nbsp;textureAttributes,    <A HREF="../../../javax/media/j3d/TexCoordGeneration.html" title="class in javax.media.j3d">TexCoordGeneration</A>&nbsp;texCoordGeneration)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the texture, texture attributes, and texture coordinate generation components in this TextureUnitState object to the specified component objects.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/TextureUnitState.html#setTexCoordGeneration(javax.media.j3d.TexCoordGeneration)">setTexCoordGeneration</A></B>(<A HREF="../../../javax/media/j3d/TexCoordGeneration.html" title="class in javax.media.j3d">TexCoordGeneration</A>&nbsp;texCoordGeneration)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the texCoordGeneration object to the specified object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/TextureUnitState.html#setTexture(javax.media.j3d.Texture)">setTexture</A></B>(<A HREF="../../../javax/media/j3d/Texture.html" title="class in javax.media.j3d">Texture</A>&nbsp;texture)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the texture object to the specified object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/TextureUnitState.html#setTextureAttributes(javax.media.j3d.TextureAttributes)">setTextureAttributes</A></B>(<A HREF="../../../javax/media/j3d/TextureAttributes.html" title="class in javax.media.j3d">TextureAttributes</A>&nbsp;textureAttributes)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the textureAttributes object to the specified object.</TD></TR></TABLE>&nbsp;<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, 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>&nbsp;<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>&nbsp;<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>&nbsp;<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_STATE_READ"><!-- --></A><H3>ALLOW_STATE_READ</H3><PRE>public static final int <B>ALLOW_STATE_READ</B></PRE><DL><DD>Specifies that this TextureUnitState object allows reading its texture, texture attribute, or texture coordinate generation component information.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.TextureUnitState.ALLOW_STATE_READ">Constant Field Values</A></DL></DL><HR><A NAME="ALLOW_STATE_WRITE"><!-- --></A><H3>ALLOW_STATE_WRITE</H3><PRE>public static final int <B>ALLOW_STATE_WRITE</B></PRE><DL><DD>Specifies that this TextureUnitState object allows writing its texture, texture attribute, or texture coordinate generation component information.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.TextureUnitState.ALLOW_STATE_WRITE">Constant Field Values</A></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_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>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="TextureUnitState()"><!-- --></A><H3>TextureUnitState</H3><PRE>public <B>TextureUnitState</B>()</PRE><DL><DD>Constructs a TextureUnitState component object using defaults for all state variables. All component object references are initialized to null.<P></DL><HR><A NAME="TextureUnitState(javax.media.j3d.Texture, javax.media.j3d.TextureAttributes, javax.media.j3d.TexCoordGeneration)"><!-- --></A><H3>TextureUnitState</H3><PRE>public <B>TextureUnitState</B>(<A HREF="../../../javax/media/j3d/Texture.html" title="class in javax.media.j3d">Texture</A>&nbsp;texture,                        <A HREF="../../../javax/media/j3d/TextureAttributes.html" title="class in javax.media.j3d">TextureAttributes</A>&nbsp;textureAttributes,                        <A HREF="../../../javax/media/j3d/TexCoordGeneration.html" title="class in javax.media.j3d">TexCoordGeneration</A>&nbsp;texCoordGeneration)</PRE><DL><DD>Constructs a TextureUnitState component object using the specified component objects.<P><DL><DT><B>Parameters:</B><DD><CODE>texture</CODE> - object that specifies the desired texture map and texture parameters<DD><CODE>textureAttributes</CODE> - object that specifies the desired texture attributes<DD><CODE>texCoordGeneration</CODE> - object that specifies the texture coordinate generation parameters</DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_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>Method Detail</B></FONT></TH></TR></TABLE><A NAME="set(javax.media.j3d.Texture, javax.media.j3d.TextureAttributes, javax.media.j3d.TexCoordGeneration)"><!-- --></A><H3>set</H3><PRE>public void <B>set</B>(<A HREF="../../../javax/media/j3d/Texture.html" title="class in javax.media.j3d">Texture</A>&nbsp;texture,                <A HREF="../../../javax/media/j3d/TextureAttributes.html" title="class in javax.media.j3d">TextureAttributes</A>&nbsp;textureAttributes,                <A HREF="../../../javax/media/j3d/TexCoordGeneration.html" title="class in javax.media.j3d">TexCoordGeneration</A>&nbsp;texCoordGeneration)</PRE><DL><DD>Sets the texture, texture attributes, and texture coordinate generation components in this TextureUnitState object to the specified component objects.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>texture</CODE> - object that specifies the desired texture map and texture parameters<DD><CODE>textureAttributes</CODE> - object that specifies the desired texture attributes<DD><CODE>texCoordGeneration</CODE> - object that specifies the texture coordinate generation parameters<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/IllegalSharingException.html" title="class in javax.media.j3d">IllegalSharingException</A></CODE> - if this TextureUnitState is live and the specified texture refers to an ImageComponent2D that is being used by a Canvas3D as an off-screen buffer.<DD><CODE><A HREF="../../../javax/media/j3d/IllegalSharingException.html" title="class in javax.media.j3d">IllegalSharingException</A></CODE> - if this TextureUnitState is being used by an immediate mode context and the specified texture refers to an ImageComponent2D that is being used by a Canvas3D as an off-screen buffer.</DL></DD></DL><HR><A NAME="setTexture(javax.media.j3d.Texture)"><!-- --></A><H3>

⌨️ 快捷键说明

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