📄 texturecubemap.html
字号:
<code>POSITIVE_Z</code> or <code>NEGATIVE_Z</code>.<DD><CODE>image</CODE> - ImageComponent2D object containing the image<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if <code>face</code> has a value other than <code>POSITIVE_X</code>, <code>NEGATIVE_X</code>, <code>POSITIVE_Y</code>, <code>NEGATIVE_Y</code>, <code>POSITIVE_Z</code> or <code>NEGATIVE_Z</code>.<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="setImages(int, javax.media.j3d.ImageComponent2D[])"><!-- --></A><H3>setImages</H3><PRE>public void <B>setImages</B>(int face, <A HREF="../../../javax/media/j3d/ImageComponent2D.html">ImageComponent2D</A>[] images)</PRE><DL><DD>Sets the array of images for mipmap levels from base level through max level for a specified face of the cube map<P><DD><DL><DT><B>Parameters:</B><DD><CODE>face</CODE> - face of the cube map. One of: <code>POSITIVE_X</code>, <code>NEGATIVE_X</code>, <code>POSITIVE_Y</code>, <code>NEGATIVE_Y</code>, <code>POSITIVE_Z</code> or <code>NEGATIVE_Z</code>.<DD><CODE>images</CODE> - array of ImageComponent2D objects containing the images<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if <code>face</code> has a value other than <code>POSITIVE_X</code>, <code>NEGATIVE_X</code>, <code>POSITIVE_Y</code>, <code>NEGATIVE_Y</code>, <code>POSITIVE_Z</code> or <code>NEGATIVE_Z</code>.<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="getImage(int, int)"><!-- --></A><H3>getImage</H3><PRE>public <A HREF="../../../javax/media/j3d/ImageComponent.html">ImageComponent</A> <B>getImage</B>(int level, int face)</PRE><DL><DD>Retrieves the image for a specified mipmap level of a particular face of the cube map.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>level</CODE> - mipmap level to get.<DD><CODE>face</CODE> - face of the cube map. One of: <code>POSITIVE_X</code>, <code>NEGATIVE_X</code>, <code>POSITIVE_Y</code>, <code>NEGATIVE_Y</code>, <code>POSITIVE_Z</code> or <code>NEGATIVE_Z</code>.<DT><B>Returns:</B><DD>the ImageComponent object containing the texture image at the specified mipmap level.<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if <code>face</code> has a value other than <code>POSITIVE_X</code>, <code>NEGATIVE_X</code>, <code>POSITIVE_Y</code>, <code>NEGATIVE_Y</code>, <code>POSITIVE_Z</code> or <code>NEGATIVE_Z</code>.<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="getImages(int)"><!-- --></A><H3>getImages</H3><PRE>public <A HREF="../../../javax/media/j3d/ImageComponent.html">ImageComponent</A>[] <B>getImages</B>(int face)</PRE><DL><DD>Retrieves the array of images for all mipmap level of a particular face of the cube map.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>face</CODE> - face of the cube map. One of: <code>POSITIVE_X</code>, <code>NEGATIVE_X</code>, <code>POSITIVE_Y</code>, <code>NEGATIVE_Y</code>, <code>POSITIVE_Z</code> or <code>NEGATIVE_Z</code>.<DT><B>Returns:</B><DD>an array of ImageComponent object for the particular face of of the cube map.<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if <code>face</code> has a value other than <code>POSITIVE_X</code>, <code>NEGATIVE_X</code>, <code>POSITIVE_Y</code>, <code>NEGATIVE_Y</code>, <code>POSITIVE_Z</code> or <code>NEGATIVE_Z</code>.<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="setImage(int, javax.media.j3d.ImageComponent)"><!-- --></A><H3>setImage</H3><PRE>public void <B>setImage</B>(int level, <A HREF="../../../javax/media/j3d/ImageComponent.html">ImageComponent</A> image)</PRE><DL><DD>This method is not supported for TextureCubeMap. A face of the cube map has to be specified when setting an image for a particular level of the cube map.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/media/j3d/Texture.html#setImage(int, javax.media.j3d.ImageComponent)">setImage</A></CODE> in class <CODE><A HREF="../../../javax/media/j3d/Texture.html">Texture</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>level</CODE> - mipmap level to set: 0 is the base level<DD><CODE>image</CODE> - ImageComponent object containing the texture image for the specified mipmap level<DT><B>Throws:</B><DD><CODE>java.lang.UnsupportedOperationException</CODE> - this method is not supported<DT><B>Since:</B><DD>Java 3D 1.3</DD></DD></DL></DD></DL><HR><A NAME="setImages(javax.media.j3d.ImageComponent[])"><!-- --></A><H3>setImages</H3><PRE>public void <B>setImages</B>(<A HREF="../../../javax/media/j3d/ImageComponent.html">ImageComponent</A>[] images)</PRE><DL><DD>This method is not supported for TextureCubeMap. A face of the cube map has to be specified when setting images for the cube map.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/media/j3d/Texture.html#setImages(javax.media.j3d.ImageComponent[])">setImages</A></CODE> in class <CODE><A HREF="../../../javax/media/j3d/Texture.html">Texture</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>images</CODE> - array of ImageComponent objects containing the texture images for all mipmap levels<DT><B>Throws:</B><DD><CODE>java.lang.UnsupportedOperationException</CODE> - this method is not supported<DT><B>Since:</B><DD>Java 3D 1.3</DD></DD></DL></DD></DL><HR><A NAME="getImage(int)"><!-- --></A><H3>getImage</H3><PRE>public <A HREF="../../../javax/media/j3d/ImageComponent.html">ImageComponent</A> <B>getImage</B>(int level)</PRE><DL><DD>This method is not supported for TextureCubeMap. A face of the cube map has to be specified when retrieving an image for a particular level of the cube map.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/media/j3d/Texture.html#getImage(int)">getImage</A></CODE> in class <CODE><A HREF="../../../javax/media/j3d/Texture.html">Texture</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>level</CODE> - mipmap level to get: 0 is the base level<DT><B>Returns:</B><DD>the ImageComponent object containing the texture image at the specified mipmap level.<DT><B>Throws:</B><DD><CODE>java.lang.UnsupportedOperationException</CODE> - this method is not supported<DT><B>Since:</B><DD>Java 3D 1.3</DD></DD></DL></DD></DL><HR><A NAME="getImages()"><!-- --></A><H3>getImages</H3><PRE>public <A HREF="../../../javax/media/j3d/ImageComponent.html">ImageComponent</A>[] <B>getImages</B>()</PRE><DL><DD>This method is not supported for TextureCubeMap. A face of the cube map has to be specified when retrieving images for the cube map.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/media/j3d/Texture.html#getImages()">getImages</A></CODE> in class <CODE><A HREF="../../../javax/media/j3d/Texture.html">Texture</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the array of ImageComponent objects for this Texture.<DT><B>Throws:</B><DD><CODE>java.lang.UnsupportedOperationException</CODE> - this method is not supported<DT><B>Since:</B><DD>Java 3D 1.3</DD></DD></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> originalNodeComponent)</PRE><DL><DD><B>Deprecated.</B> <I>replaced with duplicateNodeComponent( NodeComponent originalNodeComponent, boolean forceDuplicate)</I><P><DD>NOTE: Applications should not 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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../javax/media/j3d/TextureAttributes.html"><B>PREV CLASS</B></A> <A HREF="../../../javax/media/j3d/TextureUnitState.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> <A HREF="TextureCubeMap.html" TARGET="_top"><B>NO FRAMES</B></A> <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: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <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 + -