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

📄 texcoordgeneration.html

📁 JAVA多媒体开发类库说明
💻 HTML
📖 第 1 页 / 共 4 页
字号:
getEnable</H3><PRE>public boolean <B>getEnable</B>()</PRE><DL><DD>Retrieves the state of the texCoordGeneration enable flag.<P><DD><DL><DT><B>Returns:</B><DD>true if texture coordinate generation is enabled, false if texture coordinate generation is disabled<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/CapabilityNotSetException.html" title="class in javax.media.j3d">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="setFormat(int)"><!-- --></A><H3>setFormat</H3><PRE>public void <B>setFormat</B>(int&nbsp;format)</PRE><DL><DD>Sets the TexCoordGeneration format to the specified value.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>format</CODE> - texture format, one of: TEXTURE_COORDINATE_2, TEXTURE_COORDINATE_3 or TEXTURE_COORDINATE_4<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/RestrictedAccessException.html" title="class in javax.media.j3d">RestrictedAccessException</A></CODE> - if the method is called when this object is part of live or compiled scene graph.</DL></DD></DL><HR><A NAME="getFormat()"><!-- --></A><H3>getFormat</H3><PRE>public int <B>getFormat</B>()</PRE><DL><DD>Retrieves the current TexCoordGeneration format.<P><DD><DL><DT><B>Returns:</B><DD>the texture format<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/CapabilityNotSetException.html" title="class in javax.media.j3d">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="setGenMode(int)"><!-- --></A><H3>setGenMode</H3><PRE>public void <B>setGenMode</B>(int&nbsp;genMode)</PRE><DL><DD>Sets the TexCoordGeneration generation mode to the specified value.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>genMode</CODE> - texture generation mode, one of: OBJECT_LINEAR, EYE_LINEAR, SPHERE_MAP, NORMAL_MAP, or REFLECTION_MAP.<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/RestrictedAccessException.html" title="class in javax.media.j3d">RestrictedAccessException</A></CODE> - if the method is called when this object is part of live or compiled scene graph.<DD><CODE>java.lang.IllegalArgumentException</CODE> - if <code>genMode</code> is a value other than <code>OBJECT_LINEAR</code>, <code>EYE_LINEAR</code>, <code>SPHERE_MAP</code>, <code>NORMAL_MAP</code>, or  <code>REFLECTION_MAP</code>.<DT><B>See Also:</B><DD><A HREF="../../../javax/media/j3d/Canvas3D.html#queryProperties()"><CODE>Canvas3D.queryProperties()</CODE></A></DL></DD></DL><HR><A NAME="getGenMode()"><!-- --></A><H3>getGenMode</H3><PRE>public int <B>getGenMode</B>()</PRE><DL><DD>Retrieves the current TexCoordGeneration generation mode.<P><DD><DL><DT><B>Returns:</B><DD>the texture generation mode<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/CapabilityNotSetException.html" title="class in javax.media.j3d">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="setPlaneS(javax.vecmath.Vector4f)"><!-- --></A><H3>setPlaneS</H3><PRE>public void <B>setPlaneS</B>(<A HREF="../../../javax/vecmath/Vector4f.html" title="class in javax.vecmath">Vector4f</A>&nbsp;planeS)</PRE><DL><DD>Sets the S coordinate plane equation.  This plane equation is used to generate the S coordinate in OBJECT_LINEAR and EYE_LINEAR texture generation modes.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>planeS</CODE> - plane equation for the S coordinate<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/CapabilityNotSetException.html" title="class in javax.media.j3d">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="getPlaneS(javax.vecmath.Vector4f)"><!-- --></A><H3>getPlaneS</H3><PRE>public void <B>getPlaneS</B>(<A HREF="../../../javax/vecmath/Vector4f.html" title="class in javax.vecmath">Vector4f</A>&nbsp;planeS)</PRE><DL><DD>Retrieves a copy of the plane equation used to generate the S coordinate.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>planeS</CODE> - the S coordinate plane equation<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/CapabilityNotSetException.html" title="class in javax.media.j3d">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="setPlaneT(javax.vecmath.Vector4f)"><!-- --></A><H3>setPlaneT</H3><PRE>public void <B>setPlaneT</B>(<A HREF="../../../javax/vecmath/Vector4f.html" title="class in javax.vecmath">Vector4f</A>&nbsp;planeT)</PRE><DL><DD>Sets the T coordinate plane equation.  This plane equation is used to generate the T coordinate in OBJECT_LINEAR and EYE_LINEAR texture generation modes.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>planeT</CODE> - plane equation for the T coordinate<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/CapabilityNotSetException.html" title="class in javax.media.j3d">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="getPlaneT(javax.vecmath.Vector4f)"><!-- --></A><H3>getPlaneT</H3><PRE>public void <B>getPlaneT</B>(<A HREF="../../../javax/vecmath/Vector4f.html" title="class in javax.vecmath">Vector4f</A>&nbsp;planeT)</PRE><DL><DD>Retrieves a copy of the plane equation used to generate the T coordinate.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>planeT</CODE> - the T coordinate plane equation<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/CapabilityNotSetException.html" title="class in javax.media.j3d">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="setPlaneR(javax.vecmath.Vector4f)"><!-- --></A><H3>setPlaneR</H3><PRE>public void <B>setPlaneR</B>(<A HREF="../../../javax/vecmath/Vector4f.html" title="class in javax.vecmath">Vector4f</A>&nbsp;planeR)</PRE><DL><DD>Sets the R coordinate plane equation.  This plane equation is used to generate the R coordinate in OBJECT_LINEAR and EYE_LINEAR texture generation modes.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>planeR</CODE> - plane equation for the R coordinate<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/CapabilityNotSetException.html" title="class in javax.media.j3d">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="getPlaneR(javax.vecmath.Vector4f)"><!-- --></A><H3>getPlaneR</H3><PRE>public void <B>getPlaneR</B>(<A HREF="../../../javax/vecmath/Vector4f.html" title="class in javax.vecmath">Vector4f</A>&nbsp;planeR)</PRE><DL><DD>Retrieves a copy of the plane equation used to generate the R coordinate.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>planeR</CODE> - the R coordinate plane equation<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/CapabilityNotSetException.html" title="class in javax.media.j3d">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="setPlaneQ(javax.vecmath.Vector4f)"><!-- --></A><H3>setPlaneQ</H3><PRE>public void <B>setPlaneQ</B>(<A HREF="../../../javax/vecmath/Vector4f.html" title="class in javax.vecmath">Vector4f</A>&nbsp;planeQ)</PRE><DL><DD>Sets the Q coordinate plane equation.  This plane equation is used to generate the Q coordinate in OBJECT_LINEAR and EYE_LINEAR texture generation modes.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>planeQ</CODE> - plane equation for the Q coordinate<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/CapabilityNotSetException.html" title="class in javax.media.j3d">CapabilityNotSetException</A></CODE> - if appropriate capability is  not set and this object is part of live or compiled scene graph<DT><B>Since:</B></DT>  <DD>Java 3D 1.3</DD></DL></DD></DL><HR><A NAME="getPlaneQ(javax.vecmath.Vector4f)"><!-- --></A><H3>getPlaneQ</H3><PRE>public void <B>getPlaneQ</B>(<A HREF="../../../javax/vecmath/Vector4f.html" title="class in javax.vecmath">Vector4f</A>&nbsp;planeQ)</PRE><DL><DD>Retrieves a copy of the plane equation used to generate the Q coordinate.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>planeQ</CODE> - the Q coordinate plane equation<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/CapabilityNotSetException.html" title="class in javax.media.j3d">CapabilityNotSetException</A></CODE> - if appropriate capability is not set and this object is part of live or compiled scene graph<DT><B>Since:</B></DT>  <DD>Java 3D 1.3</DD></DL></DD></DL><HR><A NAME="cloneNodeComponent()"><!-- --></A><H3>cloneNodeComponent</H3><PRE>public <A HREF="../../../javax/media/j3d/NodeComponent.html" title="class in javax.media.j3d">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" title="class in javax.media.j3d">NodeComponent</A></CODE></DL></DD><DD><DL></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <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/SwitchValueInterpolator.html" title="class in javax.media.j3d"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../javax/media/j3d/Text3D.html" title="class in javax.media.j3d"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html?javax/media/j3d/TexCoordGeneration.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="TexCoordGeneration.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../../../allclasses-noframe.html"><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><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><font size="-1">Copyright (c) 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to <a href="../../../LICENSE-SPEC.html">license terms</a>.</BODY></HTML>

⌨️ 快捷键说明

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