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 |
operatorDelete(long ptr) |
void |
operatorDelete(long arg0,
long arg1) |
void |
operatorDeleteArray(long ptr) |
void |
operatorDeleteArray(long arg0,
long arg1) |
long |
operatorNew(long sizeInBytes) |
long |
operatorNew(long arg0,
long ptr) |
long |
operatorNewArray(long sizeInBytes) |
long |
operatorNewArray(long arg0,
long ptr) |
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 long operatorNew(long sizeInBytes)
operatorNew in class btConcaveShapepublic void operatorDelete(long ptr)
operatorDelete in class btConcaveShapepublic long operatorNew(long arg0,
long ptr)
operatorNew in class btConcaveShapepublic void operatorDelete(long arg0,
long arg1)
operatorDelete in class btConcaveShapepublic long operatorNewArray(long sizeInBytes)
operatorNewArray in class btConcaveShapepublic void operatorDeleteArray(long ptr)
operatorDeleteArray in class btConcaveShapepublic long operatorNewArray(long arg0,
long ptr)
operatorNewArray in class btConcaveShapepublic void operatorDeleteArray(long arg0,
long arg1)
operatorDeleteArray in class btConcaveShapepublic void setUseDiamondSubdivision(boolean useDiamondSubdivision)
public void setUseDiamondSubdivision()
public void setUseZigzagSubdivision(boolean useZigzagSubdivision)
public void setUseZigzagSubdivision()
Copyright © 2021. All rights reserved.