public class CenteredQuad
extends com.jme3.scene.Mesh
Constructor and Description |
---|
CenteredQuad()
Do not use this constructor.
|
CenteredQuad(float width,
float height)
Instantiates a new centered quad.
|
CenteredQuad(float width,
float height,
boolean flipCoords)
Instantiates a new centered quad.
|
Modifier and Type | Method and Description |
---|---|
float |
getHeight()
Gets the height.
|
float |
getWidth()
Gets the width.
|
void |
updateGeometry(float width,
float height)
Update geometry.
|
clearBuffer, clone, cloneForAnim, collideWith, createCollisionData, deepClone, getBound, getBuffer, getBuffers, getElementLengths, getFloatBuffer, getId, getIndexBuffer, getLineWidth, getLodLevel, getMaxNumWeights, getMode, getModeStart, getNumLodLevels, getPointSize, getShortBuffer, getTriangle, getTriangle, getTriangle, getTriangleCount, getTriangleCount, getVertexCount, prepareForAnim, read, scaleTextureCoordinates, setBound, setBuffer, setBuffer, setBuffer, setBuffer, setBuffer, setBuffer, setBuffer, setBuffer, setBuffer, setDynamic, setElementLengths, setId, setInterleaved, setLineWidth, setLodLevels, setMaxNumWeights, setMode, setModeStart, setPointSize, setStatic, setStreamed, setTriangleCount, setVertexCount, updateBound, updateCounts, write
public CenteredQuad()
public CenteredQuad(float width, float height)
width
- the widthheight
- the heightpublic CenteredQuad(float width, float height, boolean flipCoords)
width
- the widthheight
- the heightflipCoords
- the flip coords