@NoOffset @Properties(inherit=BulletCollision.class) public class btMultiSphereShape extends btConvexInternalAabbCachingShape
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
btMultiSphereShape(btVector3 positions,
double[] radi,
int numSpheres) |
btMultiSphereShape(btVector3 positions,
DoubleBuffer radi,
int numSpheres) |
btMultiSphereShape(btVector3 positions,
DoublePointer radi,
int numSpheres) |
btMultiSphereShape(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
batchedUnitVectorGetSupportingVertexWithoutMargin(btVector3 vectors,
btVector3 supportVerticesOut,
int numVectors) |
void |
calculateLocalInertia(double mass,
btVector3 inertia)
CollisionShape Interface
|
int |
calculateSerializeBufferSize() |
BytePointer |
getName() |
int |
getSphereCount() |
btVector3 |
getSpherePosition(int index) |
double |
getSphereRadius(int index) |
btVector3 |
localGetSupportingVertexWithoutMargin(btVector3 vec)
btConvexShape Interface
|
BytePointer |
serialize(Pointer dataBuffer,
btSerializer serializer)
fills the dataBuffer and returns the struct name (and 0 on failure)
|
getAabb, recalcLocalAabb, setLocalScalinggetAabbSlow, getImplicitShapeDimensions, getLocalScaling, getLocalScalingNV, getMargin, getMarginNV, getNumPreferredPenetrationDirections, getPreferredPenetrationDirection, localGetSupportingVertex, setImplicitShapeDimensions, setMargin, setSafeMargin, setSafeMargin, setSafeMargin, setSafeMargingetAabbNonVirtual, getMarginNonVirtual, localGetSupportVertexNonVirtual, localGetSupportVertexWithoutMarginNonVirtual, project, project, projectcalculateTemporalAabb, 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 btMultiSphereShape(Pointer p)
Pointer(Pointer).public btMultiSphereShape(@Const btVector3 positions, @Cast(value="const btScalar*") DoublePointer radi, int numSpheres)
public btMultiSphereShape(@Const btVector3 positions, @Cast(value="const btScalar*") DoubleBuffer radi, int numSpheres)
public void calculateLocalInertia(@Cast(value="btScalar") double mass, @ByRef btVector3 inertia)
calculateLocalInertia in class btCollisionShape@ByVal public btVector3 localGetSupportingVertexWithoutMargin(@Const @ByRef btVector3 vec)
localGetSupportingVertexWithoutMargin in class btConvexShapepublic void batchedUnitVectorGetSupportingVertexWithoutMargin(@Const btVector3 vectors, btVector3 supportVerticesOut, int numVectors)
batchedUnitVectorGetSupportingVertexWithoutMargin in class btConvexShapepublic int getSphereCount()
@Cast(value="const char*") public BytePointer getName()
getName in class btCollisionShapepublic int calculateSerializeBufferSize()
calculateSerializeBufferSize in class btConvexInternalShape@Cast(value="const char*") public BytePointer serialize(Pointer dataBuffer, btSerializer serializer)
serialize in class btConvexInternalShapeCopyright © 2024. All rights reserved.