@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, setSafeMargin
getAabbNonVirtual, getMarginNonVirtual, localGetSupportVertexNonVirtual, localGetSupportVertexWithoutMarginNonVirtual, project, project, project
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 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 btConvexShape
public void batchedUnitVectorGetSupportingVertexWithoutMargin(@Const btVector3 vectors, btVector3 supportVerticesOut, int numVectors)
batchedUnitVectorGetSupportingVertexWithoutMargin
in class btConvexShape
public void calculateLocalInertia(@Cast(value="btScalar") double mass, @ByRef btVector3 inertia)
calculateLocalInertia
in class btCollisionShape
public void getAabb(@Const @ByRef btTransform t, @ByRef btVector3 aabbMin, @ByRef btVector3 aabbMax)
btConvexInternalShape
getAabb
in class btConvexInternalShape
@Cast(value="const char*") public BytePointer getName()
getName
in class btCollisionShape
public void setMargin(@Cast(value="btScalar") double margin)
setMargin
in class btConvexInternalShape
@Cast(value="btScalar") public double getMargin()
getMargin
in class btConvexInternalShape
Copyright © 2024. All rights reserved.