Java javax.media.j3d TriangleArray fields, constructors, methods, implement or subclass

Example usage for Java javax.media.j3d TriangleArray fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.media.j3d TriangleArray.

The text is from its open source code.

Subclass

javax.media.j3d.TriangleArray has subclasses.
Click this link to see all its subclasses.

Constructor

TriangleArray(int vertexCount, int vertexFormat)
Constructs an empty TriangleArray object using the specified parameters.
TriangleArray(int vertexCount, int vertexFormat, int texCoordSetCount, int[] texCoordSetMap)
Constructs an empty TriangleArray object using the specified parameters.

Method

voidgetCoordinates(int index, float coordinates[])
Gets the coordinates associated with the vertices starting at the specified index for this object.
voidsetCapability(int bit)
Sets the specified capability bit.
voidsetColors(int index, float colors[])
Sets the colors associated with the vertices starting at the specified index for this object.
voidsetCoordinates(int index, float coordinates[])
Sets the coordinates associated with the vertices starting at the specified index for this object.
voidsetNormal(int index, float normal[])
Sets the normal associated with the vertex at the specified index for this object.
voidsetNormals(int index, float normals[])
Sets the normals associated with the vertices starting at the specified index for this object.
voidsetTextureCoordinate(int texCoordSet, int index, float texCoord[])
Sets the texture coordinate associated with the vertex at the specified index in the specified texture coordinate set for this object.
voidsetTextureCoordinates(int texCoordSet, int index, float texCoords[])
Sets the texture coordinates associated with the vertices starting at the specified index in the specified texture coordinate set for this object.