@NoOffset @Properties(inherit=BulletCollision.class) public class btMultimaterialTriangleMeshShape extends btBvhTriangleMeshShape
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
btMultimaterialTriangleMeshShape(btStridingMeshInterface meshInterface,
boolean useQuantizedAabbCompression) |
btMultimaterialTriangleMeshShape(btStridingMeshInterface meshInterface,
boolean useQuantizedAabbCompression,
boolean buildBvh) |
btMultimaterialTriangleMeshShape(btStridingMeshInterface meshInterface,
boolean useQuantizedAabbCompression,
btVector3 bvhAabbMin,
btVector3 bvhAabbMax) |
btMultimaterialTriangleMeshShape(btStridingMeshInterface meshInterface,
boolean useQuantizedAabbCompression,
btVector3 bvhAabbMin,
btVector3 bvhAabbMax,
boolean buildBvh)
optionally pass in a larger bvh aabb, used for quantization.
|
btMultimaterialTriangleMeshShape(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
btMaterial |
getMaterialProperties(int partID,
int triIndex)
Obtains the material for a specific triangle
|
BytePointer |
getName() |
buildOptimizedBvh, calculateSerializeBufferSize, getOptimizedBvh, getOwnsBvh, getTriangleInfoMap, partialRefitTree, performConvexcast, performRaycast, processAllTriangles, refitTree, serialize, serializeSingleBvh, serializeSingleTriangleInfoMap, setLocalScaling, setOptimizedBvh, setOptimizedBvh, setTriangleInfoMap, usesQuantizedAabbCompression
calculateLocalInertia, getAabb, getLocalAabbMax, getLocalAabbMin, getLocalScaling, getMeshInterface, localGetSupportingVertex, localGetSupportingVertexWithoutMargin, recalcLocalAabb
getMargin, setMargin
calculateTemporalAabb, getAngularMotionDisc, getAnisotropicRollingFrictionDirection, getBoundingSphere, getBoundingSphere, getBoundingSphere, getContactBreakingThreshold, getShapeType, getUserIndex, getUserIndex2, getUserPointer, isCompound, isConcave, isConvex, isConvex2d, isInfinite, isNonMoving, isPolyhedral, isSoftBody, serializeSingleShape, setUserIndex, setUserIndex2, setUserPointer
address, 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, zero
public btMultimaterialTriangleMeshShape(Pointer p)
Pointer(Pointer)
.public btMultimaterialTriangleMeshShape(btStridingMeshInterface meshInterface, @Cast(value="bool") boolean useQuantizedAabbCompression, @Cast(value="bool") boolean buildBvh)
public btMultimaterialTriangleMeshShape(btStridingMeshInterface meshInterface, @Cast(value="bool") boolean useQuantizedAabbCompression)
public btMultimaterialTriangleMeshShape(btStridingMeshInterface meshInterface, @Cast(value="bool") boolean useQuantizedAabbCompression, @Const @ByRef btVector3 bvhAabbMin, @Const @ByRef btVector3 bvhAabbMax, @Cast(value="bool") boolean buildBvh)
@Cast(value="const char*") public BytePointer getName()
getName
in class btBvhTriangleMeshShape
@Const public btMaterial getMaterialProperties(int partID, int triIndex)
Copyright © 2024. All rights reserved.