Class PolygonMesh
java.lang.Object
eu.mihosoft.vrl.v3d.ext.openjfx.shape3d.PolygonMesh
- Direct Known Subclasses:
SubdivisionMesh
A Mesh where each face can be a Polygon
can convert to using ObservableIntegerArray
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
javafx.collections.ObservableIntegerArray
int
int
javafx.collections.ObservableFloatArray
int
javafx.collections.ObservableFloatArray
-
Field Details
-
faces
public int[][] faces -
numEdgesInFaces
protected int numEdgesInFaces
-
-
Constructor Details
-
PolygonMesh
public PolygonMesh() -
PolygonMesh
public PolygonMesh(float[] points, float[] texCoords, int[][] faces)
-
-
Method Details
-
getPoints
public javafx.collections.ObservableFloatArray getPoints() -
getTexCoords
public javafx.collections.ObservableFloatArray getTexCoords() -
getFaceSmoothingGroups
public javafx.collections.ObservableIntegerArray getFaceSmoothingGroups() -
getNumEdgesInFaces
public int getNumEdgesInFaces() -
getPointElementSize
public int getPointElementSize() -
getTexCoordElementSize
public int getTexCoordElementSize() -
getFaceElementSize
public int getFaceElementSize()
-