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

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

Introduction

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

The text is from its open source code.

Field

intALLOW_COORDINATE_READ
Specifies that this GeometryArray allows reading the array of coordinates.
intALLOW_COORDINATE_WRITE
Specifies that this GeometryArray allows writing the array of coordinates.
intALLOW_COLOR_WRITE
Specifies that this GeometryArray allows writing the array of colors.
intALLOW_TEXCOORD_WRITE
Specifies that this GeometryArray allows writing the array of texture coordinates.
intALLOW_COUNT_READ
Specifies that this GeometryArray allows reading the count or initial index information for this object.
intALLOW_REF_DATA_WRITE
Specifies that this GeometryArray allows writing the geometry data reference information for this object.
intCOORDINATES
Specifies that this GeometryArray contains an array of coordinates.
intNORMALS
Specifies that this GeometryArray contains an array of normals.
intCOLOR_3
Specifies that this GeometryArray contains an array of colors without alpha.
intCOLOR_4
Specifies that this GeometryArray contains an array of colors with alpha.
intTEXTURE_COORDINATE_2
Specifies that this GeometryArray contains one or more arrays of 2D texture coordinates.

Method

voidgetCoordinate(int index, float coordinate[])
Gets the coordinate associated with the vertex at the specified index for this object using data in texCoords
voidgetCoordinate(int index, double coordinate[])
Gets the coordinate associated with the vertex at the specified index for this object.
voidgetCoordinate(int index, Point3f coordinate)
Gets the coordinate associated with the vertex at the specified index for this object.
voidgetCoordinate(int index, Point3d coordinate)
Gets the coordinate associated with the vertex at the specified index for this object.
voidgetCoordinates(int index, float coordinates[])
Gets the coordinates associated with the vertices starting at the specified index for this object.
voidgetCoordinates(int index, double coordinates[])
Gets the coordinates associated with the vertices starting at the specified index for this object.
voidgetCoordinates(int index, Point3f coordinates[])
Gets the coordinates associated with the vertices starting at the specified index for this object.
voidgetCoordinates(int index, Point3d coordinates[])
Gets the coordinates associated with the vertices starting at the specified index for this object.
voidgetNormal(int index, float normal[])
Gets the normal associated with the vertex at the specified index for this object.
voidgetNormal(int index, Vector3f normal)
Gets the normal associated with the vertex at the specified index for this object.
intgetVertexCount()
Retrieves the number of vertices in this GeometryArray
intgetVertexFormat()
Retrieves the vertexFormat of this GeometryArray
voidsetCapability(int bit)
Sets the specified capability bit.
voidsetColorRef3f(Color3f[] colors)
voidsetColorRefBuffer(J3DBuffer colors)
Sets the color buffer reference to the specified buffer object.
voidsetColorRefFloat(float[] colors)
Sets the float color array reference to the specified array.
voidsetColors(int index, float colors[], int start, int length)
Sets the colors associated with the vertices starting at the specified index for this object using data in colors starting at index start for length colors.
voidsetColors(int index, byte colors[], int start, int length)
Sets the colors associated with the vertices starting at the specified index for this object using data in colors starting at index start for length colors.
voidsetColors(int index, Color3f colors[], int start, int length)
Sets the colors associated with the vertices starting at the specified index for this object using data in colors starting at index start for length colors.
voidsetColors(int index, Color4f colors[], int start, int length)
Sets the colors associated with the vertices starting at the specified index for this object using data in colors starting at index start for length colors.
voidsetColors(int index, Color3b colors[], int start, int length)
Sets the colors associated with the vertices starting at the specified index for this object using data in colors starting at index start for length colors.
voidsetColors(int index, Color4b colors[], int start, int length)
Sets the colors associated with the vertices starting at the specified index for this object using data in colors starting at index start for length colors.
voidsetCoordinates(int index, float coordinates[])
Sets the coordinates associated with the vertices starting at the specified index for this object.
voidsetCoordinates(int index, double coordinates[])
Sets the coordinates associated with the vertices starting at the specified index for this object.
voidsetCoordinates(int index, Point3f coordinates[])
Sets the coordinates associated with the vertices starting at the specified index for this object.
voidsetCoordinates(int index, Point3d coordinates[])
Sets the coordinates associated with the vertices starting at the specified index for this object.
voidsetCoordRef3f(Point3f[] coords)
voidsetCoordRefBuffer(J3DBuffer coords)
Sets the coordinate buffer reference to the specified buffer object.
voidsetCoordRefFloat(float[] coords)
Sets the float coordinate array reference to the specified array.
voidsetInterleavedVertexBuffer(J3DBuffer vertexData)
Sets the interleaved vertex buffer reference to the specified buffer object.
voidsetInterleavedVertices(float[] vertexData)
Sets the interleaved vertex array reference to the specified array.
voidsetNormal(int index, float normal[])
Sets the normal associated with the vertex at the specified index for this object.
voidsetNormal(int index, Vector3f 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.
voidsetNormals(int index, Vector3f normals[])
Sets the normals associated with the vertices starting at the specified index 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.
voidsetTextureCoordinates(int texCoordSet, int index, TexCoord2f texCoords[])
Sets the texture coordinates associated with the vertices starting at the specified index in the specified texture coordinate set for this object.
voidsetTextureCoordinates(int texCoordSet, int index, TexCoord3f texCoords[])
Sets the texture coordinates associated with the vertices starting at the specified index in the specified texture coordinate set for this object.
voidsetTextureCoordinates(int texCoordSet, int index, TexCoord4f texCoords[])
Sets the texture coordinates associated with the vertices starting at the specified index in the specified texture coordinate set for this object.
voidsetTextureCoordinates(int index, float texCoords[], int start, int length)
voidsetTextureCoordinates(int index, Point2f texCoords[], int start, int length)
voidsetTextureCoordinates(int index, Point3f texCoords[], int start, int length)