Geometry.FaceCullingMode, Geometry.FillDrawingMode, Geometry.LineDrawingMode
DEFAULT_FACE_CULLING_MODE, DEFAULT_FILL_DRAWING_MODE, DEFAULT_LINE_DRAWING_MODE, DEFAULT_POLYGON_OFFSET_MODE
Constructor and Description |
---|
DefaultGeometry()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
ElementsBuffer |
getColors()
Return the colors.
|
Geometry.FaceCullingMode |
getFaceCullingMode()
Face-culling mode getter.
|
Geometry.FillDrawingMode |
getFillDrawingMode()
Fill drawing mode getter.
|
IndicesBuffer |
getIndices()
Return the indices if any.
|
Geometry.LineDrawingMode |
getLineDrawingMode()
Line drawing mode getter.
|
ElementsBuffer |
getNormals()
Return the normals.
|
boolean |
getPolygonOffsetMode()
Polygon offset mode getter.
|
ElementsBuffer |
getTextureCoordinates()
Texture coordinates getter.
|
ElementsBuffer |
getVertices()
Return the vertices.
|
IndicesBuffer |
getWireIndices()
Return the wire indices.
|
void |
setColors(ElementsBuffer colors)
Colors setter.
|
void |
setFaceCullingMode(Geometry.FaceCullingMode faceCullingMode)
Face culling mode setter.
|
void |
setFillDrawingMode(Geometry.FillDrawingMode fillDrawingMode)
Fill drawing mode setter.
|
void |
setIndices(IndicesBuffer indicesBuffer)
Indices setter.
|
void |
setLineDrawingMode(Geometry.LineDrawingMode lineDrawingMode)
Line drawing mode setter.
|
void |
setNormals(ElementsBuffer normals)
Normals setter.
|
void |
setPolygonOffsetMode(boolean polygonOffsetMode)
Polygon offset mode setter.
|
void |
setTextureCoordinates(ElementsBuffer textureCoordinates)
Texture coordinates setter.
|
void |
setVertices(ElementsBuffer vertices)
Vertices setter.
|
void |
setWireIndices(IndicesBuffer wireIndices)
Wire indices setter.
|
public final Geometry.FaceCullingMode getFaceCullingMode()
Geometry
getFaceCullingMode
in interface Geometry
public final Geometry.FillDrawingMode getFillDrawingMode()
Geometry
getFillDrawingMode
in interface Geometry
public final Geometry.LineDrawingMode getLineDrawingMode()
Geometry
getLineDrawingMode
in interface Geometry
public final boolean getPolygonOffsetMode()
Geometry
getPolygonOffsetMode
in interface Geometry
public final ElementsBuffer getVertices()
Geometry
getVertices
in interface Geometry
public final IndicesBuffer getIndices()
Geometry
null
is returned, indices should be treated as consecutive number.getIndices
in interface Geometry
public final IndicesBuffer getWireIndices()
Geometry
null
is returned, no edges are drawn.getWireIndices
in interface Geometry
public final ElementsBuffer getColors()
Geometry
public final ElementsBuffer getTextureCoordinates()
Geometry
getTextureCoordinates
in interface Geometry
public final ElementsBuffer getNormals()
Geometry
getNormals
in interface Geometry
public final void setFaceCullingMode(Geometry.FaceCullingMode faceCullingMode)
faceCullingMode
- the new face culling mode.public final void setFillDrawingMode(Geometry.FillDrawingMode fillDrawingMode)
fillDrawingMode
- the new fill drawing mode.public final void setLineDrawingMode(Geometry.LineDrawingMode lineDrawingMode)
lineDrawingMode
- the new line drawing mode.public final void setPolygonOffsetMode(boolean polygonOffsetMode)
polygonOffsetMode
- the new polygon offset mode.public final void setTextureCoordinates(ElementsBuffer textureCoordinates)
textureCoordinates
- the new texture coordinate data.public final void setVertices(ElementsBuffer vertices)
vertices
- the new vertices data.public final void setNormals(ElementsBuffer normals)
normals
- the new normals data.public final void setColors(ElementsBuffer colors)
colors
- the new colors data.public final void setWireIndices(IndicesBuffer wireIndices)
wireIndices
- the new wire indices data.public final void setIndices(IndicesBuffer indicesBuffer)
indicesBuffer
- the new indices data.