@NoOffset @Properties(inherit=BulletCollision.class) public class btConvexInternalShape extends btConvexShape
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
btConvexInternalShape(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
calculateSerializeBufferSize() |
void |
getAabb(btTransform t,
btVector3 aabbMin,
btVector3 aabbMax)
getAabb's default implementation is brute force, expected derived classes to implement a fast dedicated version
|
void |
getAabbSlow(btTransform t,
btVector3 aabbMin,
btVector3 aabbMax) |
btVector3 |
getImplicitShapeDimensions() |
btVector3 |
getLocalScaling() |
btVector3 |
getLocalScalingNV() |
double |
getMargin() |
double |
getMarginNV() |
int |
getNumPreferredPenetrationDirections() |
void |
getPreferredPenetrationDirection(int index,
btVector3 penetrationVector) |
btVector3 |
localGetSupportingVertex(btVector3 vec) |
BytePointer |
serialize(Pointer dataBuffer,
btSerializer serializer)
fills the dataBuffer and returns the struct name (and 0 on failure)
|
void |
setImplicitShapeDimensions(btVector3 dimensions)
warning: use setImplicitShapeDimensions with care
changing a collision shape while the body is in the world is not recommended,
it is best to remove the body from the world, then make the change, and re-add it
alternatively flush the contact points, see documentation for 'cleanProxyFromPairs'
|
void |
setLocalScaling(btVector3 scaling) |
void |
setMargin(double margin) |
void |
setSafeMargin(btVector3 halfExtents) |
void |
setSafeMargin(btVector3 halfExtents,
double defaultMarginMultiplier) |
void |
setSafeMargin(double minDimension) |
void |
setSafeMargin(double minDimension,
double defaultMarginMultiplier) |
batchedUnitVectorGetSupportingVertexWithoutMargin, getAabbNonVirtual, getMarginNonVirtual, localGetSupportingVertexWithoutMargin, localGetSupportVertexNonVirtual, localGetSupportVertexWithoutMarginNonVirtual, project, project, projectcalculateLocalInertia, calculateTemporalAabb, getAngularMotionDisc, getAnisotropicRollingFrictionDirection, getBoundingSphere, getBoundingSphere, getBoundingSphere, getContactBreakingThreshold, getName, 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 btConvexInternalShape(Pointer p)
Pointer(Pointer).@ByVal public btVector3 localGetSupportingVertex(@Const @ByRef btVector3 vec)
localGetSupportingVertex in class btConvexShapepublic void setImplicitShapeDimensions(@Const @ByRef btVector3 dimensions)
public void setSafeMargin(@Cast(value="btScalar") double minDimension, @Cast(value="btScalar") double defaultMarginMultiplier)
public void setSafeMargin(@Const @ByRef btVector3 halfExtents, @Cast(value="btScalar") double defaultMarginMultiplier)
public void getAabb(@Const @ByRef btTransform t, @ByRef btVector3 aabbMin, @ByRef btVector3 aabbMax)
getAabb in class btConvexShapepublic void getAabbSlow(@Const @ByRef btTransform t, @ByRef btVector3 aabbMin, @ByRef btVector3 aabbMax)
getAabbSlow in class btConvexShapepublic void setLocalScaling(@Const @ByRef btVector3 scaling)
setLocalScaling in class btConvexShape@Const @ByRef public btVector3 getLocalScaling()
getLocalScaling in class btConvexShapepublic void setMargin(@Cast(value="btScalar") double margin)
setMargin in class btConvexShape@Cast(value="btScalar") public double getMargin()
getMargin in class btConvexShapepublic int getNumPreferredPenetrationDirections()
getNumPreferredPenetrationDirections in class btConvexShapepublic void getPreferredPenetrationDirection(int index,
@ByRef
btVector3 penetrationVector)
getPreferredPenetrationDirection in class btConvexShapepublic 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.