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

📄 texture3d.html

📁 java 3d帮助文档
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><!-- ========= 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="Texture3D()"><!-- --></A><H3>Texture3D</H3><PRE>public <B>Texture3D</B>()</PRE><DL><DD>Constructs a Texture3D object with default parameters. The default values are as follows: <ul> depth : 0<br> boundary mode R : WRAP<br> </ul> <p> Note that the default constructor creates a texture object with  a width, height, and depth of 0 and is, therefore, not useful.<P></DL><HR><A NAME="Texture3D(int, int, int, int, int)"><!-- --></A><H3>Texture3D</H3><PRE>public <B>Texture3D</B>(int&nbsp;mipmapMode,                 int&nbsp;format,                 int&nbsp;width,                 int&nbsp;height,                 int&nbsp;depth)</PRE><DL><DD>Constructs an empty Texture3D object with specified mipmapMode format, width, height, and depth. Image at base level must be set by  the application using 'setImage' method. If mipmapMode is set to MULTI_LEVEL_MIPMAP, images for base level through maximum level must be set.<P><DT><B>Parameters:</B><DD><CODE>mipmapMode</CODE> - type of mipmap for this Texture: One of BASE_LEVEL, MULTI_LEVEL_MIPMAP.<DD><CODE>format</CODE> - data format of Textures saved in this object. One of INTENSITY, LUMINANCE, ALPHA, LUMINANCE_ALPHA, RGB, RGBA.<DD><CODE>width</CODE> - width of image at level 0. Must be power of 2.<DD><CODE>height</CODE> - height of image at level 0. Must be power of 2.<DD><CODE>depth</CODE> - depth of image at level 0. Must be power of 2.<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if width or height are NOT power of 2 OR invalid format/mipmapMode is specified.</DL><HR><A NAME="Texture3D(int, int, int, int, int, int)"><!-- --></A><H3>Texture3D</H3><PRE>public <B>Texture3D</B>(int&nbsp;mipmapMode,                 int&nbsp;format,                 int&nbsp;width,                 int&nbsp;height,                 int&nbsp;depth,                 int&nbsp;boundaryWidth)</PRE><DL><DD>Constructs an empty Texture3D object with specified mipmapMode format, width, height, depth, and boundaryWidth.  Image at base level must be set by  the application using 'setImage' method. If mipmapMode is set to MULTI_LEVEL_MIPMAP, images for base level through maximum level must be set.<P><DT><B>Parameters:</B><DD><CODE>mipmapMode</CODE> - type of mipmap for this Texture: One of BASE_LEVEL, MULTI_LEVEL_MIPMAP.<DD><CODE>format</CODE> - data format of Textures saved in this object. One of INTENSITY, LUMINANCE, ALPHA, LUMINANCE_ALPHA, RGB, RGBA.<DD><CODE>width</CODE> - width of image at level 0. Must be power of 2.<DD><CODE>height</CODE> - height of image at level 0. Must be power of 2.<DD><CODE>depth</CODE> - depth of image at level 0. Must be power of 2.<DD><CODE>boundaryWidth</CODE> - width of the boundary.<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if width or height are NOT power of 2 OR invalid format/mipmapMode is specified, or if the boundaryWidth < 0<DT><B>Since:</B><DD>Java 3D 1.3</DD></DD></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="setBoundaryModeR(int)"><!-- --></A><H3>setBoundaryModeR</H3><PRE>public void <B>setBoundaryModeR</B>(int&nbsp;boundaryModeR)</PRE><DL><DD>Sets the boundary mode for the R coordinate in this texture object.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>boundaryModeR</CODE> - the boundary mode for the R coordinate, one of: CLAMP, WRAP, CLAMP_TO_EDGE, or CLAMP_TO_BOUNDARY<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/RestrictedAccessException.html">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>boundaryModeR</code> is a value other than <code>CLAMP</code>, <code>WRAP</code>, <code>CLAMP_TO_EDGE</code>, or <code>CLAMP_TO_BOUNDARY</code>.</DL></DD></DL><HR><A NAME="getBoundaryModeR()"><!-- --></A><H3>getBoundaryModeR</H3><PRE>public int <B>getBoundaryModeR</B>()</PRE><DL><DD>Retrieves the boundary mode for the R coordinate.<P><DD><DL><DT><B>Returns:</B><DD>the current boundary mode for the R coordinate.<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/RestrictedAccessException.html">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="getDepth()"><!-- --></A><H3>getDepth</H3><PRE>public int <B>getDepth</B>()</PRE><DL><DD>Retrieves the depth of this Texture3D object.<P><DD><DL><DT><B>Returns:</B><DD>the depth of this Texture3D 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<DT><B>Since:</B><DD>Java 3D 1.2</DD></DD></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/Texture2D.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../javax/media/j3d/TextureAttributes.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="Texture3D.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="#fields_inherited_from_class_javax.media.j3d.Texture">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;FIELD&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 + -