|
M3G 1.1 -- Jun 22, 2005 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of VertexArray in javax.microedition.m3g |
Methods in javax.microedition.m3g that return VertexArray | |
VertexArray |
VertexBuffer.getPositions(float[] scaleBias)
Returns the current vertex position array, or null if positions are not set. |
VertexArray |
VertexBuffer.getTexCoords(int index,
float[] scaleBias)
Gets the current texture coordinate array for the specified texturing unit, or null if texture coordinates for that unit are not set. |
VertexArray |
VertexBuffer.getNormals()
Gets the current normal vector array, or null if normals are not set. |
VertexArray |
VertexBuffer.getColors()
Gets the current color array, or null if per-vertex colors are not set. |
Methods in javax.microedition.m3g with parameters of type VertexArray | |
void |
VertexBuffer.setPositions(VertexArray positions,
float scale,
float[] bias)
Sets the vertex positions for this VertexBuffer. |
void |
VertexBuffer.setTexCoords(int index,
VertexArray texCoords,
float scale,
float[] bias)
Sets the texture coordinates for the specified texturing unit. |
void |
VertexBuffer.setNormals(VertexArray normals)
Sets the normal vectors for this VertexBuffer. |
void |
VertexBuffer.setColors(VertexArray colors)
Sets the per-vertex colors for this VertexBuffer. |
void |
Transform.transform(VertexArray in,
float[] out,
boolean W)
Multiplies the elements of the given VertexArray with this matrix, storing the transformed values in a float array. |
|
M3G 1.1 -- Jun 22, 2005 | |||||||||
PREV NEXT | FRAMES NO FRAMES |