public class PolygonMesh
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
int[][] |
faces
The faces.
|
protected int |
numEdgesInFaces
The num edges in faces.
|
| Constructor and Description |
|---|
PolygonMesh()
Instantiates a new polygon mesh.
|
PolygonMesh(float[] points,
float[] texCoords,
int[][] faces)
Instantiates a new polygon mesh.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getFaceElementSize()
Gets the face element size.
|
javafx.collections.ObservableIntegerArray |
getFaceSmoothingGroups()
Gets the face smoothing groups.
|
int |
getNumEdgesInFaces()
Gets the num edges in faces.
|
int |
getPointElementSize()
Gets the point element size.
|
javafx.collections.ObservableFloatArray |
getPoints()
Gets the points.
|
int |
getTexCoordElementSize()
Gets the tex coord element size.
|
javafx.collections.ObservableFloatArray |
getTexCoords()
Gets the tex coords.
|
public int[][] faces
protected int numEdgesInFaces
public PolygonMesh()
public PolygonMesh(float[] points,
float[] texCoords,
int[][] faces)
points - the pointstexCoords - the tex coordsfaces - the facespublic javafx.collections.ObservableFloatArray getPoints()
public javafx.collections.ObservableFloatArray getTexCoords()
public javafx.collections.ObservableIntegerArray getFaceSmoothingGroups()
public int getNumEdgesInFaces()
public int getPointElementSize()
public int getTexCoordElementSize()
public int getFaceElementSize()