public class Mesh extends Object
| Modifier and Type | Field and Description |
|---|---|
AttributeData[] |
attributs |
static int |
CTM_ATTR_ELEMENT_COUNT |
static int |
CTM_NORMAL_ELEMENT_COUNT |
static int |
CTM_POSITION_ELEMENT_COUNT |
static int |
CTM_UV_ELEMENT_COUNT |
int[] |
indices |
float[] |
normals |
AttributeData[] |
texcoordinates |
float[] |
vertices |
| Constructor and Description |
|---|
Mesh(float[] vertices,
float[] normals,
int[] indices,
AttributeData[] texcoordinates,
AttributeData[] attributs) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkIntegrity() |
boolean |
equals(Object obj) |
int |
getAttrCount() |
float |
getAverageEdgeLength() |
int |
getTriangleCount() |
int |
getUVCount() |
int |
getVertexCount() |
int |
hashCode() |
boolean |
hasNormals() |
public static final int CTM_ATTR_ELEMENT_COUNT
public static final int CTM_NORMAL_ELEMENT_COUNT
public static final int CTM_POSITION_ELEMENT_COUNT
public static final int CTM_UV_ELEMENT_COUNT
public final float[] vertices
public final float[] normals
public final int[] indices
public final AttributeData[] texcoordinates
public final AttributeData[] attributs
public Mesh(float[] vertices,
float[] normals,
int[] indices,
AttributeData[] texcoordinates,
AttributeData[] attributs)
public int getVertexCount()
public int getUVCount()
public int getAttrCount()
public int getTriangleCount()
public boolean hasNormals()
public float getAverageEdgeLength()
public void checkIntegrity()
throws InvalidDataException
InvalidDataExceptionCopyright © 2013. All Rights Reserved.