📄 geometrystriparray.html
字号:
<A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="GeometryStripArray(int, int, int[])"><!-- --></A><H3>GeometryStripArray</H3><PRE>public <B>GeometryStripArray</B>(int vertexCount, int vertexFormat, int[] stripVertexCounts)</PRE><DL><DD>Constructs an empty GeometryStripArray object with the specified number of vertices, vertex format, and array of per-strip vertex counts.<P><DL><DT><B>Parameters:</B><DD><CODE>vertexCount</CODE> - see <A HREF="../../../javax/media/j3d/GeometryArray.html#GeometryArray(int, int)"><CODE>GeometryArray.GeometryArray(int,int)</CODE></A> for a description of this parameter.<DD><CODE>vertexFormat</CODE> - see <A HREF="../../../javax/media/j3d/GeometryArray.html#GeometryArray(int, int)"><CODE>GeometryArray.GeometryArray(int,int)</CODE></A> for a description of this parameter.<DD><CODE>stripVertexCounts</CODE> - array that specifies the count of the number of vertices for each separate strip. 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> ;<br> See <A HREF="../../../javax/media/j3d/GeometryArray.html#GeometryArray(int, int)"><CODE>GeometryArray.GeometryArray(int,int)</CODE></A> for more exceptions that can be thrown</DL></DL><HR><A NAME="GeometryStripArray(int, int, int, int[], int[])"><!-- --></A><H3>GeometryStripArray</H3><PRE>public <B>GeometryStripArray</B>(int vertexCount, int vertexFormat, int texCoordSetCount, int[] texCoordSetMap, int[] stripVertexCounts)</PRE><DL><DD>Constructs an empty GeometryStripArray object with the specified number of vertices, vertex format, number of texture coordinate sets, texture coordinate mapping array, and array of per-strip vertex counts.<P><DL><DT><B>Parameters:</B><DD><CODE>vertexCount</CODE> - see <A HREF="../../../javax/media/j3d/GeometryArray.html#GeometryArray(int, int, int, int[])"><CODE>GeometryArray.GeometryArray(int,int,int,int[])</CODE></A> for a description of this parameter.<DD><CODE>vertexFormat</CODE> - see <A HREF="../../../javax/media/j3d/GeometryArray.html#GeometryArray(int, int, int, int[])"><CODE>GeometryArray.GeometryArray(int,int,int,int[])</CODE></A> for a description of this parameter.<DD><CODE>texCoordSetCount</CODE> - see <A HREF="../../../javax/media/j3d/GeometryArray.html#GeometryArray(int, int, int, int[])"><CODE>GeometryArray.GeometryArray(int,int,int,int[])</CODE></A> for a description of this parameter.<DD><CODE>texCoordSetMap</CODE> - see <A HREF="../../../javax/media/j3d/GeometryArray.html#GeometryArray(int, int, int, int[])"><CODE>GeometryArray.GeometryArray(int,int,int,int[])</CODE></A> for a description of this parameter.<DD><CODE>stripVertexCounts</CODE> - array that specifies the count of the number of vertices for each separate strip. 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> ;<br> See <A HREF="../../../javax/media/j3d/GeometryArray.html#GeometryArray(int, int, int, int[])"><CODE>GeometryArray.GeometryArray(int,int,int,int[])</CODE></A> for more exceptions that can be thrown<DT><B>Since:</B></DT> <DD>Java 3D 1.2</DD></DL></DL><HR><A NAME="GeometryStripArray(int, int, int, int[], int, int[], int[])"><!-- --></A><H3>GeometryStripArray</H3><PRE>public <B>GeometryStripArray</B>(int vertexCount, int vertexFormat, int texCoordSetCount, int[] texCoordSetMap, int vertexAttrCount, int[] vertexAttrSizes, int[] stripVertexCounts)</PRE><DL><DD>Constructs an empty GeometryStripArray object with the specified number of vertices, vertex format, number of texture coordinate sets, texture coordinate mapping array, vertex attribute count, vertex attribute sizes array, and array of per-strip vertex counts.<P><DL><DT><B>Parameters:</B><DD><CODE>vertexCount</CODE> - see <A HREF="../../../javax/media/j3d/GeometryArray.html#GeometryArray(int, int, int, int[], int, int[])"><CODE>GeometryArray.GeometryArray(int,int,int,int[],int,int[])</CODE></A> for a description of this parameter.<DD><CODE>vertexFormat</CODE> - see <A HREF="../../../javax/media/j3d/GeometryArray.html#GeometryArray(int, int, int, int[], int, int[])"><CODE>GeometryArray.GeometryArray(int,int,int,int[],int,int[])</CODE></A> for a description of this parameter.<DD><CODE>texCoordSetMap</CODE> - see <A HREF="../../../javax/media/j3d/GeometryArray.html#GeometryArray(int, int, int, int[], int, int[])"><CODE>GeometryArray.GeometryArray(int,int,int,int[],int,int[])</CODE></A> for a description of this parameter.<DD><CODE>vertexAttrCount</CODE> - see <A HREF="../../../javax/media/j3d/GeometryArray.html#GeometryArray(int, int, int, int[], int, int[])"><CODE>GeometryArray.GeometryArray(int,int,int,int[],int,int[])</CODE></A> for a description of this parameter.<DD><CODE>vertexAttrSizes</CODE> - see <A HREF="../../../javax/media/j3d/GeometryArray.html#GeometryArray(int, int, int, int[], int, int[])"><CODE>GeometryArray.GeometryArray(int,int,int,int[],int,int[])</CODE></A> for a description of this parameter.<DD><CODE>stripVertexCounts</CODE> - array that specifies the count of the number of vertices for each separate strip. 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> ;<br> See <A HREF="../../../javax/media/j3d/GeometryArray.html#GeometryArray(int, int, int, int[], int, int[])"><CODE>GeometryArray.GeometryArray(int,int,int,int[],int,int[])</CODE></A> for more exceptions that can be thrown<DT><B>Since:</B></DT> <DD>Java 3D 1.4</DD></DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></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
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -