public class HeightfieldTerrainShape extends ConcaveShape
| Modifier and Type | Field and Description |
|---|---|
static int |
XAXIS |
static int |
YAXIS |
static int |
ZAXIS |
| Constructor and Description |
|---|
HeightfieldTerrainShape(int heightStickWidth,
int heightStickLength,
float[] heightfieldData,
float heightScale,
float minHeight,
float maxHeight,
int upAxis,
boolean flipQuadEdges) |
| Modifier and Type | Method and Description |
|---|---|
void |
calculateLocalInertia(float arg0,
Vector3f inertia) |
void |
getAabb(Transform t,
Vector3f aabbMin,
Vector3f aabbMax) |
Vector3f |
getLocalScaling(Vector3f arg0) |
String |
getName() |
static int |
getQuantized(float x) |
BroadphaseNativeType |
getShapeType() |
void |
processAllTriangles(TriangleCallback callback,
Vector3f aabbMin,
Vector3f aabbMax) |
void |
setLocalScaling(Vector3f scaling) |
getMargin, setMargincalculateTemporalAabb, getAngularMotionDisc, getBoundingSphere, getUserPointer, isCompound, isConcave, isConvex, isInfinite, isPolyhedral, setUserPointerpublic static final int XAXIS
public static final int YAXIS
public static final int ZAXIS
public HeightfieldTerrainShape(int heightStickWidth,
int heightStickLength,
float[] heightfieldData,
float heightScale,
float minHeight,
float maxHeight,
int upAxis,
boolean flipQuadEdges)
public void processAllTriangles(TriangleCallback callback, Vector3f aabbMin, Vector3f aabbMax)
processAllTriangles in class ConcaveShapepublic void calculateLocalInertia(float arg0,
Vector3f inertia)
calculateLocalInertia in class CollisionShapepublic void getAabb(Transform t, Vector3f aabbMin, Vector3f aabbMax)
getAabb in class CollisionShapepublic Vector3f getLocalScaling(Vector3f arg0)
getLocalScaling in class CollisionShapepublic String getName()
getName in class CollisionShapepublic BroadphaseNativeType getShapeType()
getShapeType in class CollisionShapepublic void setLocalScaling(Vector3f scaling)
setLocalScaling in class CollisionShapepublic static int getQuantized(float x)