public static class Model.Mesh
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
swigCMemOwn |
| Constructor and Description |
|---|
Mesh() |
Mesh(long cPtr,
boolean cMemoryOwn) |
Mesh(Model.Mesh mesh) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
protected void |
finalize() |
static long |
getCPtr(Model.Mesh obj) |
Model.Face |
getFace(int index)
Mesh face.
|
int |
getFaceCount()
Mesh face count.
|
Model.Vertex |
getVertex(int index)
Mesh vertex.
|
Vector3uc |
getVertexColor(int index)
Mesh vertex color.
|
int |
getVertexCount()
Mesh vertex count.
|
boolean |
hasUV()
Returns true if model has UV coordinates.
|
boolean |
hasVertexColors()
Returns true if model has vertex colors.
|
boolean |
hasVertexConfidence()
Returns true if model has confidence values.
|
void |
setFace(int index,
Model.Face f)
Mesh face.
|
void |
setFaceCount(int count)
Mesh face count.
|
void |
setVertex(int index,
Model.Vertex v)
Mesh vertex.
|
void |
setVertexColor(int index,
Vector3uc color)
Mesh vertex color.
|
void |
setVertexCount(int count)
Mesh vertex count.
|
public Mesh(long cPtr,
boolean cMemoryOwn)
public Mesh()
public Mesh(Model.Mesh mesh)
public static long getCPtr(Model.Mesh obj)
protected void finalize()
finalize in class java.lang.Objectpublic void delete()
public void setFaceCount(int count)
public int getFaceCount()
public void setVertexCount(int count)
public int getVertexCount()
public void setFace(int index,
Model.Face f)
public Model.Face getFace(int index)
public void setVertex(int index,
Model.Vertex v)
public Model.Vertex getVertex(int index)
public void setVertexColor(int index,
Vector3uc color)
public Vector3uc getVertexColor(int index)
public boolean hasUV()
public boolean hasVertexColors()
public boolean hasVertexConfidence()