📄 indexedgeometryarray.html
字号:
<code>TEXTURE_COORDINATE_4</code>, the <code>texCoordSetMap</code> array is not used.<p><DD><CODE>indexCount</CODE> - the number of indices in this object. This count is the maximum number of vertices that will be rendered.<DT><B>Since:</B><DD>Java 3D 1.2</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="getIndexCount()"><!-- --></A><H3>getIndexCount</H3><PRE>public int <B>getIndexCount</B>()</PRE><DL><DD>Gets number of indices for this IndexedGeometryArray.<P><DD><DL><DT><B>Returns:</B><DD>indexCount the number of indices</DL></DD></DL><HR><A NAME="setValidIndexCount(int)"><!-- --></A><H3>setValidIndexCount</H3><PRE>public void <B>setValidIndexCount</B>(int validIndexCount)</PRE><DL><DD>Sets the valid index count for this IndexedGeometryArray object. This count specifies the number of indexed vertices actually used in rendering or other operations such as picking and collision. This attribute is initialized to <code>indexCount</code>.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>validIndexCount</CODE> - the new valid index count.<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/CapabilityNotSetException.html">CapabilityNotSetException</A></CODE> - if the appropriate capability is not set and this object is part of a live or compiled scene graph<DD><CODE>java.lang.IllegalArgumentException</CODE> - if either of the following is true: <ul> <code>validIndexCount < 0</code>, or<br> <code>initialIndexIndex + validIndexCount > indexCount</code><br> </ul><DD><CODE>java.lang.ArrayIndexOutOfBoundsException</CODE> - if any element in the range <code>[initialIndexIndex, initialIndexIndex+validIndexCount-1]</code> in the index array associated with any of the enabled vertex components (coord, color, normal, texcoord) is out of range. An element is out of range if it is less than 0 or is greater than or equal to the number of vertices actually defined for the particular component's array.<DT><B>Since:</B><DD>Java 3D 1.3</DD></DD></DL></DD></DL><HR><A NAME="getValidIndexCount()"><!-- --></A><H3>getValidIndexCount</H3><PRE>public int <B>getValidIndexCount</B>()</PRE><DL><DD>Gets the valid index count for this IndexedGeometryArray object. For geometry strip primitives (subclasses of IndexedGeometryStripArray), the valid index count is defined to be the sum of the stripIndexCounts array.<P><DD><DL><DT><B>Returns:</B><DD>the current valid index count<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/CapabilityNotSetException.html">CapabilityNotSetException</A></CODE> - if the appropriate capability is not set and this object is part of a live or compiled scene graph<DT><B>Since:</B><DD>Java 3D 1.3</DD></DD></DL></DD></DL><HR><A NAME="setInitialIndexIndex(int)"><!-- --></A><H3>setInitialIndexIndex</H3><PRE>public void <B>setInitialIndexIndex</B>(int initialIndexIndex)</PRE><DL><DD>Sets the initial index index for this IndexedGeometryArray object. This index specifies the first index within this indexed geometry array that is actually used in rendering or other operations such as picking and collision. This attribute is initialized to 0.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>initialIndexIndex</CODE> - the new initial index index.<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/CapabilityNotSetException.html">CapabilityNotSetException</A></CODE> - if the appropriate capability is not set and this object is part of a live or compiled scene graph<DD><CODE>java.lang.IllegalArgumentException</CODE> - if either of the following is true: <ul> <code>initialIndexIndex < 0</code>, or<br> <code>initialIndexIndex + validIndexCount > indexCount</code><br> </ul><DD><CODE>java.lang.ArrayIndexOutOfBoundsException</CODE> - if any element in the range <code>[initialIndexIndex, initialIndexIndex+validIndexCount-1]</code> in the index array associated with any of the enabled vertex components (coord, color, normal, texcoord) is out of range. An element is out of range if it is less than 0 or is greater than or equal to the number of vertices actually defined for the particular component's array.<DT><B>Since:</B><DD>Java 3D 1.3</DD></DD></DL></DD></DL><HR><A NAME="getInitialIndexIndex()"><!-- --></A><H3>getInitialIndexIndex</H3><PRE>public int <B>getInitialIndexIndex</B>()</PRE><DL><DD>Gets the initial index index for this IndexedGeometryArray object.<P><DD><DL><DT><B>Returns:</B><DD>the current initial index index<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/CapabilityNotSetException.html">CapabilityNotSetException</A></CODE> - if the appropriate capability is not set and this object is part of a live or compiled scene graph<DT><B>Since:</B><DD>Java 3D 1.3</DD></DD></DL></DD></DL><HR><A NAME="setInitialVertexIndex(int)"><!-- --></A><H3>setInitialVertexIndex</H3><PRE>public void <B>setInitialVertexIndex</B>(int initialVertexIndex)</PRE><DL><DD>This method is not supported for indexed geometry arrays. Indexed primitives use an array of indices to determine how to access the vertex array. The initialIndexIndex attribute can be used to set the starting index within the index arrays.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/media/j3d/GeometryArray.html#setInitialVertexIndex(int)">setInitialVertexIndex</A></CODE> in class <CODE><A HREF="../../../javax/media/j3d/GeometryArray.html">GeometryArray</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>initialVertexIndex</CODE> - the new initial vertex index.<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="setInitialCoordIndex(int)"><!-- --></A><H3>setInitialCoordIndex</H3><PRE>public void <B>setInitialCoordIndex</B>(int initialCoordIndex)</PRE><DL><DD>This method is not supported for indexed geometry arrays. Indexed primitives use an array of indices to determine how to access the vertex array.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/media/j3d/GeometryArray.html#setInitialCoordIndex(int)">setInitialCoordIndex</A></CODE> in class <CODE><A HREF="../../../javax/media/j3d/GeometryArray.html">GeometryArray</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>initialCoordIndex</CODE> - the new initial coordinate index.<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="setInitialColorIndex(int)"><!-- --></A><H3>setInitialColorIndex</H3><PRE>public void <B>setInitialColorIndex</B>(int initialColorIndex)</PRE><DL><DD>This method is not supported for indexed geometry arrays. Indexed primitives use an array of indices to determine how to access the vertex array.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/media/j3d/GeometryArray.html#setInitialColorIndex(int)">setInitialColorIndex</A></CODE> in class <CODE><A
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -