@Properties(inherit=BulletCollision.class) public class btSphereShape extends btConvexInternalShape
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
btSphereShape(double radius) |
btSphereShape(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) |
void |
getAabb(btTransform t,
btVector3 aabbMin,
btVector3 aabbMax)
getAabb's default implementation is brute force, expected derived classes to implement a fast dedicated version
|
double |
getMargin() |
BytePointer |
getName() |
double |
getRadius() |
btVector3 |
localGetSupportingVertex(btVector3 vec) |
btVector3 |
localGetSupportingVertexWithoutMargin(btVector3 vec) |
void |
setMargin(double margin) |
void |
setUnscaledRadius(double radius) |
calculateSerializeBufferSize, getAabbSlow, getImplicitShapeDimensions, getLocalScaling, getLocalScalingNV, getMarginNV, getNumPreferredPenetrationDirections, getPreferredPenetrationDirection, serialize, setImplicitShapeDimensions, setLocalScaling, 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 btSphereShape(Pointer p)
Pointer(Pointer).@ByVal public btVector3 localGetSupportingVertex(@Const @ByRef btVector3 vec)
localGetSupportingVertex in class btConvexInternalShape@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 void calculateLocalInertia(@Cast(value="btScalar") double mass, @ByRef btVector3 inertia)
calculateLocalInertia in class btCollisionShapepublic void getAabb(@Const @ByRef btTransform t, @ByRef btVector3 aabbMin, @ByRef btVector3 aabbMax)
btConvexInternalShapegetAabb in class btConvexInternalShape@Cast(value="const char*") public BytePointer getName()
getName in class btCollisionShapepublic void setMargin(@Cast(value="btScalar") double margin)
setMargin in class btConvexInternalShape@Cast(value="btScalar") public double getMargin()
getMargin in class btConvexInternalShapeCopyright © 2024. All rights reserved.