public class btBvhTriangleMeshShape extends btTriangleMeshShape
className| Constructor and Description |
|---|
btBvhTriangleMeshShape(Array<T> meshParts) |
btBvhTriangleMeshShape(Array<T> meshParts,
boolean useQuantizedAabbCompression) |
btBvhTriangleMeshShape(Array<T> meshParts,
boolean useQuantizedAabbCompression,
boolean buildBvh) |
btBvhTriangleMeshShape(Array<T> meshParts,
boolean useQuantizedAabbCompression,
Vector3 bvhAabbMin,
Vector3 bvhAabbMax) |
btBvhTriangleMeshShape(Array<T> meshParts,
boolean useQuantizedAabbCompression,
Vector3 bvhAabbMin,
Vector3 bvhAabbMax,
boolean buildBvh) |
btBvhTriangleMeshShape(btStridingMeshInterface meshInterface,
boolean useQuantizedAabbCompression) |
btBvhTriangleMeshShape(btStridingMeshInterface meshInterface,
boolean useQuantizedAabbCompression,
boolean buildBvh) |
btBvhTriangleMeshShape(btStridingMeshInterface meshInterface,
boolean useQuantizedAabbCompression,
Vector3 bvhAabbMin,
Vector3 bvhAabbMax) |
btBvhTriangleMeshShape(btStridingMeshInterface meshInterface,
boolean useQuantizedAabbCompression,
Vector3 bvhAabbMin,
Vector3 bvhAabbMax,
boolean buildBvh) |
btBvhTriangleMeshShape(long cPtr,
boolean cMemoryOwn)
Construct a new btBvhTriangleMeshShape, normally you should not need this constructor it's intended for low-level usage.
|
getCPtr, getLocalAabbMax, getLocalAabbMin, getMeshInterfaceConst, localGetSupportingVertex, localGetSupportingVertexWithoutMargin, recalcLocalAabbgetCPtr, 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, setUserPointerequals, getCPointer, hashCode, hasOwnership, isDisposed, isObtained, obtain, release, releaseOwnership, takeOwnership, toStringpublic btBvhTriangleMeshShape(long cPtr,
boolean cMemoryOwn)
public btBvhTriangleMeshShape(Array<T> meshParts)
public btBvhTriangleMeshShape(Array<T> meshParts, boolean useQuantizedAabbCompression)
public btBvhTriangleMeshShape(Array<T> meshParts, boolean useQuantizedAabbCompression, boolean buildBvh)
public btBvhTriangleMeshShape(Array<T> meshParts, boolean useQuantizedAabbCompression, Vector3 bvhAabbMin, Vector3 bvhAabbMax)
public btBvhTriangleMeshShape(Array<T> meshParts, boolean useQuantizedAabbCompression, Vector3 bvhAabbMin, Vector3 bvhAabbMax, boolean buildBvh)
public btBvhTriangleMeshShape(btStridingMeshInterface meshInterface, boolean useQuantizedAabbCompression)
public btBvhTriangleMeshShape(btStridingMeshInterface meshInterface, boolean useQuantizedAabbCompression, boolean buildBvh)
public btBvhTriangleMeshShape(btStridingMeshInterface meshInterface, boolean useQuantizedAabbCompression, Vector3 bvhAabbMin, Vector3 bvhAabbMax, boolean buildBvh)
public btBvhTriangleMeshShape(btStridingMeshInterface meshInterface, boolean useQuantizedAabbCompression, Vector3 bvhAabbMin, Vector3 bvhAabbMax)
public static long getCPtr(btBvhTriangleMeshShape obj)
public static <T extends MeshPart> btBvhTriangleMeshShape obtain(Array<T> meshParts)
MeshPart instances.
Where possible previously obtained objects are reused. You must call BulletBase.release(),
when you no longer need the shape.public btStridingMeshInterface getMeshInterface()
getMeshInterface in class btTriangleMeshShapebtStridingMeshInterface this shape encapsulates.public void dispose()
dispose in interface Disposabledispose in class BulletBasepublic long operatorNew(long sizeInBytes)
operatorNew in class btTriangleMeshShapepublic void operatorDelete(long ptr)
operatorDelete in class btTriangleMeshShapepublic long operatorNew(long arg0,
long ptr)
operatorNew in class btTriangleMeshShapepublic void operatorDelete(long arg0,
long arg1)
operatorDelete in class btTriangleMeshShapepublic long operatorNewArray(long sizeInBytes)
operatorNewArray in class btTriangleMeshShapepublic void operatorDeleteArray(long ptr)
operatorDeleteArray in class btTriangleMeshShapepublic long operatorNewArray(long arg0,
long ptr)
operatorNewArray in class btTriangleMeshShapepublic void operatorDeleteArray(long arg0,
long arg1)
operatorDeleteArray in class btTriangleMeshShapepublic boolean getOwnsBvh()
public void performRaycast(btTriangleCallback callback, Vector3 raySource, Vector3 rayTarget)
public void performConvexcast(btTriangleCallback callback, Vector3 boxSource, Vector3 boxTarget, Vector3 boxMin, Vector3 boxMax)
public btOptimizedBvh getOptimizedBvh()
public void setOptimizedBvh(btOptimizedBvh bvh, Vector3 localScaling)
public void setOptimizedBvh(btOptimizedBvh bvh)
public void buildOptimizedBvh()
public boolean usesQuantizedAabbCompression()
public void setTriangleInfoMap(btTriangleInfoMap triangleInfoMap)
public btTriangleInfoMap getTriangleInfoMap()
public void serializeSingleBvh(btSerializer serializer)
public void serializeSingleTriangleInfoMap(btSerializer serializer)
Copyright © 2021. All rights reserved.