@NoOffset @Properties(inherit=BulletCollision.class) public class btBvhTriangleMeshShape extends btTriangleMeshShape
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
btBvhTriangleMeshShape(btStridingMeshInterface meshInterface,
boolean useQuantizedAabbCompression) |
btBvhTriangleMeshShape(btStridingMeshInterface meshInterface,
boolean useQuantizedAabbCompression,
boolean buildBvh) |
btBvhTriangleMeshShape(btStridingMeshInterface meshInterface,
boolean useQuantizedAabbCompression,
btVector3 bvhAabbMin,
btVector3 bvhAabbMax) |
btBvhTriangleMeshShape(btStridingMeshInterface meshInterface,
boolean useQuantizedAabbCompression,
btVector3 bvhAabbMin,
btVector3 bvhAabbMax,
boolean buildBvh)
optionally pass in a larger bvh aabb, used for quantization.
|
btBvhTriangleMeshShape(Pointer p)
Pointer cast constructor.
|
calculateLocalInertia, getAabb, getLocalAabbMax, getLocalAabbMin, getLocalScaling, getMeshInterface, localGetSupportingVertex, localGetSupportingVertexWithoutMargin, recalcLocalAabbgetMargin, setMargincalculateTemporalAabb, getAngularMotionDisc, getAnisotropicRollingFrictionDirection, getBoundingSphere, getBoundingSphere, getBoundingSphere, getContactBreakingThreshold, getShapeType, getUserIndex, getUserIndex2, getUserPointer, isCompound, isConcave, isConvex, isConvex2d, isInfinite, isNonMoving, isPolyhedral, isSoftBody, serializeSingleShape, setUserIndex, setUserIndex2, setUserPointeraddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic btBvhTriangleMeshShape(Pointer p)
Pointer(Pointer).public btBvhTriangleMeshShape(btStridingMeshInterface meshInterface, @Cast(value="bool") boolean useQuantizedAabbCompression, @Cast(value="bool") boolean buildBvh)
public btBvhTriangleMeshShape(btStridingMeshInterface meshInterface, @Cast(value="bool") boolean useQuantizedAabbCompression)
public btBvhTriangleMeshShape(btStridingMeshInterface meshInterface, @Cast(value="bool") boolean useQuantizedAabbCompression, @Const @ByRef btVector3 bvhAabbMin, @Const @ByRef btVector3 bvhAabbMax, @Cast(value="bool") boolean buildBvh)
public void performRaycast(btTriangleCallback callback, @Const @ByRef btVector3 raySource, @Const @ByRef btVector3 rayTarget)
public void performConvexcast(btTriangleCallback callback, @Const @ByRef btVector3 boxSource, @Const @ByRef btVector3 boxTarget, @Const @ByRef btVector3 boxMin, @Const @ByRef btVector3 boxMax)
public void processAllTriangles(btTriangleCallback callback, @Const @ByRef btVector3 aabbMin, @Const @ByRef btVector3 aabbMax)
processAllTriangles in class btTriangleMeshShapepublic void partialRefitTree(@Const @ByRef btVector3 aabbMin, @Const @ByRef btVector3 aabbMax)
@Cast(value="const char*") public BytePointer getName()
getName in class btTriangleMeshShapepublic void setLocalScaling(@Const @ByRef btVector3 scaling)
setLocalScaling in class btTriangleMeshShapepublic btOptimizedBvh getOptimizedBvh()
public void setOptimizedBvh(btOptimizedBvh bvh, @Const @ByRef(nullValue="btVector3(1, 1, 1)") btVector3 localScaling)
public void setOptimizedBvh(btOptimizedBvh bvh)
public void buildOptimizedBvh()
public void setTriangleInfoMap(btTriangleInfoMap triangleInfoMap)
public btTriangleInfoMap getTriangleInfoMap()
public int calculateSerializeBufferSize()
calculateSerializeBufferSize in class btCollisionShape@Cast(value="const char*") public BytePointer serialize(Pointer dataBuffer, btSerializer serializer)
serialize in class btCollisionShapepublic void serializeSingleBvh(btSerializer serializer)
public void serializeSingleTriangleInfoMap(btSerializer serializer)
Copyright © 2024. All rights reserved.