public class BorderMesh
extends com.jme3.scene.Mesh
Constructor and Description |
---|
BorderMesh(float iw,
float ih,
float ow,
float oh,
float radius,
int cornerDivisions)
Instantiates a new border mesh.
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<com.jme3.math.Vector3f> |
getBottomLeft(float x,
float y,
float w,
float h,
float radius,
int divisions)
Gets the bottom left.
|
static java.util.List<com.jme3.math.Vector3f> |
getBottomRight(float x,
float y,
float w,
float h,
float radius,
int divisions)
Gets the bottom right.
|
static java.util.List<com.jme3.math.Vector3f> |
getTopLeft(float x,
float y,
float w,
float h,
float radius,
int divisions)
Gets the top left.
|
static java.util.List<com.jme3.math.Vector3f> |
getTopRight(float x,
float y,
float w,
float h,
float radius,
int divisions)
Gets the top right.
|
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 BorderMesh(float iw, float ih, float ow, float oh, float radius, int cornerDivisions)
iw
- the iwih
- the ihow
- the owoh
- the ohradius
- the radiuscornerDivisions
- the corner divisionspublic static java.util.List<com.jme3.math.Vector3f> getBottomLeft(float x, float y, float w, float h, float radius, int divisions)
x
- the xy
- the yw
- the wh
- the hradius
- the radiusdivisions
- the divisionspublic static java.util.List<com.jme3.math.Vector3f> getBottomRight(float x, float y, float w, float h, float radius, int divisions)
x
- the xy
- the yw
- the wh
- the hradius
- the radiusdivisions
- the divisionspublic static java.util.List<com.jme3.math.Vector3f> getTopLeft(float x, float y, float w, float h, float radius, int divisions)
x
- the xy
- the yw
- the wh
- the hradius
- the radiusdivisions
- the divisionspublic static java.util.List<com.jme3.math.Vector3f> getTopRight(float x, float y, float w, float h, float radius, int divisions)
x
- the xy
- the yw
- the wh
- the hradius
- the radiusdivisions
- the divisions