public static class I3DXML.VertexBufferType
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
I3DXML.ColorBufferType |
diffuseColors |
IVec[] |
normals |
I3DXML.ColorBufferType |
specularColors |
java.util.ArrayList<I3DXML.TextureCoordinatesBufferType> |
textureCoordinates |
IVertex[] |
vertices |
Constructor and Description |
---|
VertexBufferType() |
VertexBufferType(I3DXML.VertexBufferType vb) |
Modifier and Type | Method and Description |
---|---|
IVec |
getNormal(int i) |
int |
getNormalNum() |
IVertex |
getVertex(int i) |
int |
getVertexNum() |
(package private) static IVec[] |
parseVector(java.lang.String str,
int dim) |
(package private) static IVertex[] |
parseVertex(java.lang.String str,
int dim) |
(package private) static double[][] |
parseXYZ(java.lang.String str,
int dim) |
void |
setNormals(java.lang.String nml) |
void |
setPositions(java.lang.String pos) |
void |
transform(IMatrix4 m) |
public java.util.ArrayList<I3DXML.TextureCoordinatesBufferType> textureCoordinates
public I3DXML.ColorBufferType diffuseColors
public I3DXML.ColorBufferType specularColors
public IVec[] normals
public IVertex[] vertices
public VertexBufferType()
public VertexBufferType(I3DXML.VertexBufferType vb)
public void transform(IMatrix4 m)
static IVertex[] parseVertex(java.lang.String str, int dim)
static IVec[] parseVector(java.lang.String str, int dim)
static double[][] parseXYZ(java.lang.String str, int dim)
public void setPositions(java.lang.String pos)
public void setNormals(java.lang.String nml)
public int getVertexNum()
public int getNormalNum()
public IVertex getVertex(int i)
public IVec getNormal(int i)