public static class Model.Mesh
extends java.lang.Object
implements java.lang.AutoCloseable
Modifier and Type | Field and Description |
---|---|
protected boolean |
swigCMemOwn |
Modifier | Constructor and Description |
---|---|
|
Mesh() |
protected |
Mesh(long cPtr,
boolean cMemoryOwn) |
|
Mesh(Model.Mesh mesh) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
delete() |
protected void |
finalize() |
protected 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.
|
Color |
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,
Color color)
Mesh vertex color.
|
void |
setVertexCount(int count)
Mesh vertex count.
|
protected Mesh(long cPtr, boolean cMemoryOwn)
public Mesh()
public Mesh(Model.Mesh mesh)
protected static long getCPtr(Model.Mesh obj)
protected void finalize()
finalize
in class java.lang.Object
public void delete()
public void close()
close
in interface java.lang.AutoCloseable
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, Color color)
public Color getVertexColor(int index)
public boolean hasUV()
public boolean hasVertexColors()
public boolean hasVertexConfidence()