@NoOffset @Properties(inherit=BulletCollision.class) public class btUniformScalingShape extends btConvexShape
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
btUniformScalingShape(btConvexShape convexChildShape,
double uniformScalingFactor) |
btUniformScalingShape(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
|
void |
getAabbSlow(btTransform t,
btVector3 aabbMin,
btVector3 aabbMax) |
btConvexShape |
getChildShape() |
btVector3 |
getLocalScaling() |
double |
getMargin() |
BytePointer |
getName() |
int |
getNumPreferredPenetrationDirections() |
void |
getPreferredPenetrationDirection(int index,
btVector3 penetrationVector) |
double |
getUniformScalingFactor() |
btVector3 |
localGetSupportingVertex(btVector3 vec) |
btVector3 |
localGetSupportingVertexWithoutMargin(btVector3 vec) |
void |
setLocalScaling(btVector3 scaling) |
void |
setMargin(double margin) |
getAabbNonVirtual, getMarginNonVirtual, localGetSupportVertexNonVirtual, localGetSupportVertexWithoutMarginNonVirtual, project, project, projectcalculateSerializeBufferSize, calculateTemporalAabb, getAngularMotionDisc, getAnisotropicRollingFrictionDirection, getBoundingSphere, getBoundingSphere, getBoundingSphere, getContactBreakingThreshold, getShapeType, getUserIndex, getUserIndex2, getUserPointer, isCompound, isConcave, isConvex, isConvex2d, isInfinite, isNonMoving, isPolyhedral, isSoftBody, serialize, 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 btUniformScalingShape(Pointer p)
Pointer(Pointer).public btUniformScalingShape(btConvexShape convexChildShape, @Cast(value="btScalar") double uniformScalingFactor)
@ByVal public btVector3 localGetSupportingVertexWithoutMargin(@Const @ByRef btVector3 vec)
localGetSupportingVertexWithoutMargin in class btConvexShape@ByVal public btVector3 localGetSupportingVertex(@Const @ByRef btVector3 vec)
localGetSupportingVertex 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 btConvexShape getChildShape()
@Cast(value="const char*") public BytePointer getName()
getName in class btCollisionShapepublic 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 btConvexShapeCopyright © 2024. All rights reserved.