public class btHeightfieldTerrainShape extends btConcaveShape
className| Constructor and Description |
|---|
btHeightfieldTerrainShape(int heightStickWidth,
int heightStickLength,
FloatBuffer heightfieldData,
float heightScale,
float minHeight,
float maxHeight,
int upAxis,
boolean flipQuadEdges) |
btHeightfieldTerrainShape(int heightStickWidth,
int heightStickLength,
ShortBuffer heightfieldData,
float heightScale,
float minHeight,
float maxHeight,
int upAxis,
boolean flipQuadEdges) |
btHeightfieldTerrainShape(long cPtr,
boolean cMemoryOwn)
Construct a new btHeightfieldTerrainShape, normally you should not need this constructor it's intended for low-level usage.
|
| Modifier and Type | Method and Description |
|---|---|
static long |
getCPtr(btHeightfieldTerrainShape obj) |
void |
setUseDiamondSubdivision() |
void |
setUseDiamondSubdivision(boolean useDiamondSubdivision) |
void |
setUseZigzagSubdivision() |
void |
setUseZigzagSubdivision(boolean useZigzagSubdivision) |
getCPtr, processAllTrianglescalculateLocalInertia, calculateSerializeBufferSize, calculateTemporalAabb, getAabb, getAngularMotionDisc, getAnisotropicRollingFrictionDirection, getBoundingSphere, getContactBreakingThreshold, getCPtr, getLocalScaling, getMargin, getName, getShapeType, getUserIndex, getUserPointer, isCompound, isConcave, isConvex, isConvex2d, isInfinite, isNonMoving, isPolyhedral, isSoftBody, newDerivedObject, serialize, serializeSingleShape, setLocalScaling, setMargin, setUserIndex, setUserPointerdispose, equals, getCPointer, hashCode, hasOwnership, isDisposed, isObtained, obtain, release, releaseOwnership, takeOwnership, toStringpublic btHeightfieldTerrainShape(long cPtr,
boolean cMemoryOwn)
public btHeightfieldTerrainShape(int heightStickWidth,
int heightStickLength,
FloatBuffer heightfieldData,
float heightScale,
float minHeight,
float maxHeight,
int upAxis,
boolean flipQuadEdges)
public btHeightfieldTerrainShape(int heightStickWidth,
int heightStickLength,
ShortBuffer heightfieldData,
float heightScale,
float minHeight,
float maxHeight,
int upAxis,
boolean flipQuadEdges)
public static long getCPtr(btHeightfieldTerrainShape obj)
public void setUseDiamondSubdivision(boolean useDiamondSubdivision)
public void setUseDiamondSubdivision()
public void setUseZigzagSubdivision(boolean useZigzagSubdivision)
public void setUseZigzagSubdivision()
Copyright © 2017. All rights reserved.