📄 geometrystriparray.html
字号:
The length of this array is the number of separate strips. The sum of the elements in this array defines the total number of valid vertices that are rendered (validVertexCount).<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if <code>validVertexCount > vertexCount</code><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="getNumStrips()"><!-- --></A><H3>getNumStrips</H3><PRE>public int <B>getNumStrips</B>()</PRE><DL><DD>Get number of strips in the GeometryStripArray.<P><DD><DL><DT><B>Returns:</B><DD>numStrips number of strips</DL></DD></DL><HR><A NAME="setStripVertexCounts(int[])"><!-- --></A><H3>setStripVertexCounts</H3><PRE>public void <B>setStripVertexCounts</B>(int[] stripVertexCounts)</PRE><DL><DD>Sets the array of strip vertex counts. The length of this array is the number of separate strips. The elements in this array specify the number of vertices for each separate strip. The sum of the elements in this array defines the total number of valid vertices that are rendered (validVertexCount).<P><DD><DL><DT><B>Parameters:</B><DD><CODE>stripVertexCounts</CODE> - array that specifies the count of the number of vertices for each separate strip.<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if any of the following are true: <ul> <code>initialVertexIndex + validVertexCount > vertexCount</code>,<br> <code>initialCoordIndex + validVertexCount > vertexCount</code>,<br> <code>initialColorIndex + validVertexCount > vertexCount</code>,<br> <code>initialNormalIndex + validVertexCount > vertexCount</code>,<br> <code>initialTexCoordIndex + validVertexCount > vertexCount</code> </ul> <p><DD><CODE>java.lang.ArrayIndexOutOfBoundsException</CODE> - if the geometry data format is <code>BY_REFERENCE</code> and any the following are true for non-null array references: <ul> <code>CoordRef.length</code> < <i>num_words</i> * (<code>initialCoordIndex + validVertexCount</code>)<br> <code>ColorRef.length</code> < <i>num_words</i> * (<code>initialColorIndex + validVertexCount</code>)<br> <code>NormalRef.length</code> < <i>num_words</i> * (<code>initialNormalIndex + validVertexCount</code>)<br> <code>TexCoordRef.length</code> < <i>num_words</i> * (<code>initialTexCoordIndex + validVertexCount</code>)<br> </ul> where <i>num_words</i> depends on which variant of <code>set</code><i>Array</i><code>Ref</code> is used.<DT><B>Since:</B><DD>Java 3D 1.3</DD></DD></DL></DD></DL><HR><A NAME="getStripVertexCounts(int[])"><!-- --></A><H3>getStripVertexCounts</H3><PRE>public void <B>getStripVertexCounts</B>(int[] stripVertexCounts)</PRE><DL><DD>Get a list of vertexCounts for each strip. The list is copied into the specified array. The array must be large enough to hold all of the ints.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>stripVertexCounts</CODE> - an array that will receive vertexCounts</DL></DD></DL><HR><A NAME="setValidVertexCount(int)"><!-- --></A><H3>setValidVertexCount</H3><PRE>public void <B>setValidVertexCount</B>(int validVertexCount)</PRE><DL><DD>This method is not supported for geometry strip arrays. The sum of the elements in the strip vertex counts array defines the valid vertex count.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/media/j3d/GeometryArray.html#setValidVertexCount(int)">setValidVertexCount</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>validVertexCount</CODE> - the new valid vertex count.<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><!-- ========= 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/GeometryArray.html"><B>PREV CLASS</B></A> <A HREF="../../../javax/media/j3d/GraphicsConfigTemplate3D.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="GeometryStripArray.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="#fields_inherited_from_class_javax.media.j3d.GeometryArray">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: FIELD | <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 + -