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

📄 textureunitstate.html

📁 java 3d帮助文档
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<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_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" 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="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">Texture</A>&nbsp;texture,                        <A HREF="../../../javax/media/j3d/TextureAttributes.html">TextureAttributes</A>&nbsp;textureAttributes,                        <A HREF="../../../javax/media/j3d/TexCoordGeneration.html">TexCoordGeneration</A>&nbsp;texCoordGeneration)</PRE><DL><DD>Constructs a TextureUnitState component object using the specified component objects.<P><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><!-- ============ 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="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">Texture</A>&nbsp;texture,                <A HREF="../../../javax/media/j3d/TextureAttributes.html">TextureAttributes</A>&nbsp;textureAttributes,                <A HREF="../../../javax/media/j3d/TexCoordGeneration.html">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</DL></DD></DL><HR><A NAME="setTexture(javax.media.j3d.Texture)"><!-- --></A><H3>setTexture</H3><PRE>public void <B>setTexture</B>(<A HREF="../../../javax/media/j3d/Texture.html">Texture</A>&nbsp;texture)</PRE><DL><DD>Sets the texture object to the specified object. Setting it to null disables texture mapping for the texture unit corresponding to this TextureUnitState object.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>texture</CODE> - object that specifies the desired texture map and texture parameters<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="getTexture()"><!-- --></A><H3>getTexture</H3><PRE>public <A HREF="../../../javax/media/j3d/Texture.html">Texture</A> <B>getTexture</B>()</PRE><DL><DD>Retrieves the current texture object.<P><DD><DL><DT><B>Returns:</B><DD>the texture object<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="setTextureAttributes(javax.media.j3d.TextureAttributes)"><!-- --></A><H3>setTextureAttributes</H3><PRE>public void <B>setTextureAttributes</B>(<A HREF="../../../javax/media/j3d/TextureAttributes.html">TextureAttributes</A>&nbsp;textureAttributes)</PRE><DL><DD>Sets the textureAttributes object to the specified object. Setting it to null will result in default attribute usage for the. texture unit corresponding to this TextureUnitState object.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>textureAttributes</CODE> - object that specifies the desired texture attributes<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="getTextureAttributes()"><!-- --></A><H3>getTextureAttributes</H3><PRE>public <A HREF="../../../javax/media/j3d/TextureAttributes.html">TextureAttributes</A> <B>getTextureAttributes</B>()</PRE><DL><DD>Retrieves the current textureAttributes object.<P><DD><DL><DT><B>Returns:</B><DD>the textureAttributes object<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="setTexCoordGeneration(javax.media.j3d.TexCoordGeneration)"><!-- --></A><H3>setTexCoordGeneration</H3><PRE>public void <B>setTexCoordGeneration</B>(<A HREF="../../../javax/media/j3d/TexCoordGeneration.html">TexCoordGeneration</A>&nbsp;texCoordGeneration)</PRE><DL><DD>Sets the texCoordGeneration object to the specified object. Setting it to null disables texture coordinate generation for the texture unit corresponding to this TextureUnitState object.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>texCoordGeneration</CODE> - object that specifies the texture coordinate generation parameters<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="getTexCoordGeneration()"><!-- --></A><H3>getTexCoordGeneration</H3><PRE>public <A HREF="../../../javax/media/j3d/TexCoordGeneration.html">TexCoordGeneration</A> <B>getTexCoordGeneration</B>()</PRE><DL><DD>Retrieves the current texCoordGeneration object.<P><DD><DL><DT><B>Returns:</B><DD>the texCoordGeneration object<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="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><HR><A NAME="duplicateNodeComponent(javax.media.j3d.NodeComponent)"><!-- --></A><H3>duplicateNodeComponent</H3><PRE>public void <B>duplicateNodeComponent</B>(<A HREF="../../../javax/media/j3d/NodeComponent.html">NodeComponent</A>&nbsp;originalNodeComponent)</PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>replaced with duplicateNodeComponent(  NodeComponent originalNodeComponent, boolean forceDuplicate)</I><P><DD>NOTE: Applications should <i>not</i> call this method directly. It should only be called by the cloneNode method.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/media/j3d/NodeComponent.html#duplicateNodeComponent(javax.media.j3d.NodeComponent)">duplicateNodeComponent</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/TextureCubeMap.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../javax/media/j3d/Transform3D.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="TextureUnitState.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 + -