@Deprecated public class CenterQuad extends Mesh
The rectangle extends from (-width/2, -height/2, 0) to (width/2, height/2, 0) with normals set to (0,0,1).
This differs from com.jme3.scene.shape.Quad because it puts (0,0,0) at the rectangle's center instead of in a corner.
Modifier and Type | Field and Description |
---|---|
static Mesh |
CenterSplitQuad
Deprecated.
|
static CenterQuad |
UnitQuad
Deprecated.
|
Constructor and Description |
---|
CenterQuad(float width,
float height)
Deprecated.
Create a quad with the given width and height.
|
CenterQuad(float width,
float height,
boolean flipCoords)
Deprecated.
Create a quad with the given width and height.
|
Modifier and Type | Method and Description |
---|---|
float |
getHeight()
Deprecated.
|
float |
getWidth()
Deprecated.
|
void |
updateGeometry(float width,
float height)
Deprecated.
|
void |
updateGeometry(float width,
float height,
boolean flipCoords)
Deprecated.
|
addMorphTarget, clearBuffer, clearCollisionData, clone, cloneFields, cloneForAnim, collideWith, createCollisionData, deepClone, extractVertexData, generateBindPose, generateBindPose, getBound, getBuffer, getBufferList, getBuffers, getElementLengths, getFloatBuffer, getId, getIndexBuffer, getIndicesAsList, getInstanceCount, getLineWidth, getLodLevel, getMaxNumWeights, getMode, getModeStart, getMorphIndex, getMorphTarget, getMorphTargetNames, getMorphTargets, getNumLodLevels, getPatchVertexCount, getPointSize, getShortBuffer, getTriangle, getTriangle, getTriangle, getTriangleCount, getTriangleCount, getVertexCount, hasMorphTargets, isAnimated, isAnimatedByBone, isAnimatedByJoint, jmeClone, prepareForAnim, read, removeMorphTarget, removeMorphTarget, scaleTextureCoordinates, setBound, setBuffer, setBuffer, setBuffer, setBuffer, setBuffer, setBuffer, setBuffer, setBuffer, setBuffer, setBuffer, setDynamic, setElementLengths, setId, setInterleaved, setLineWidth, setLodLevels, setMaxNumWeights, setMode, setModeStart, setPatchVertexCount, setStatic, setStreamed, updateBound, updateCounts, write
public static CenterQuad UnitQuad
public static Mesh CenterSplitQuad
public CenterQuad(float width, float height)
width
- The X extent or widthheight
- The Y extent or widthpublic CenterQuad(float width, float height, boolean flipCoords)
width
- The X extent or widthheight
- The Y extent or widthflipCoords
- If true, the texture coordinates will be flipped
along the Y axis.