@NoOffset @Properties(inherit=BulletCollision.class) public class btScaledBvhTriangleMeshShape extends btConcaveShape
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
btScaledBvhTriangleMeshShape(btBvhTriangleMeshShape childShape,
btVector3 localScaling) |
btScaledBvhTriangleMeshShape(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
calculateLocalInertia(double mass,
btVector3 inertia) |
int |
calculateSerializeBufferSize() |
void |
getAabb(btTransform t,
btVector3 aabbMin,
btVector3 aabbMax)
getAabb returns the axis aligned bounding box in the coordinate frame of the given transform t.
|
btBvhTriangleMeshShape |
getChildShape() |
btVector3 |
getLocalScaling() |
BytePointer |
getName() |
void |
processAllTriangles(btTriangleCallback callback,
btVector3 aabbMin,
btVector3 aabbMax) |
BytePointer |
serialize(Pointer dataBuffer,
btSerializer serializer)
fills the dataBuffer and returns the struct name (and 0 on failure)
|
void |
setLocalScaling(btVector3 scaling) |
getMargin, 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 btScaledBvhTriangleMeshShape(Pointer p)
Pointer(Pointer).public btScaledBvhTriangleMeshShape(btBvhTriangleMeshShape childShape, @Const @ByRef btVector3 localScaling)
public void getAabb(@Const @ByRef btTransform t, @ByRef btVector3 aabbMin, @ByRef btVector3 aabbMax)
btCollisionShapegetAabb in class btCollisionShapepublic void setLocalScaling(@Const @ByRef btVector3 scaling)
setLocalScaling in class btCollisionShape@Const @ByRef public btVector3 getLocalScaling()
getLocalScaling in class btCollisionShapepublic void calculateLocalInertia(@Cast(value="btScalar") double mass, @ByRef btVector3 inertia)
calculateLocalInertia in class btCollisionShapepublic void processAllTriangles(btTriangleCallback callback, @Const @ByRef btVector3 aabbMin, @Const @ByRef btVector3 aabbMax)
processAllTriangles in class btConcaveShapepublic btBvhTriangleMeshShape getChildShape()
@Cast(value="const char*") public BytePointer getName()
getName in class btCollisionShapepublic int calculateSerializeBufferSize()
calculateSerializeBufferSize in class btCollisionShape@Cast(value="const char*") public BytePointer serialize(Pointer dataBuffer, btSerializer serializer)
serialize in class btCollisionShapeCopyright © 2024. All rights reserved.