@NoOffset @Properties(inherit=BulletCollision.class) public class btSdfCollisionShape extends btConcaveShape
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
btSdfCollisionShape() |
btSdfCollisionShape(long size)
Native array allocator.
|
btSdfCollisionShape(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
calculateLocalInertia(double mass,
btVector3 inertia) |
void |
getAabb(btTransform t,
btVector3 aabbMin,
btVector3 aabbMax)
getAabb returns the axis aligned bounding box in the coordinate frame of the given transform t.
|
btVector3 |
getLocalScaling() |
double |
getMargin() |
BytePointer |
getName() |
btSdfCollisionShape |
getPointer(long i) |
boolean |
initializeSDF(BytePointer sdfData,
int sizeInBytes) |
boolean |
initializeSDF(String sdfData,
int sizeInBytes) |
btSdfCollisionShape |
position(long position) |
void |
processAllTriangles(btTriangleCallback callback,
btVector3 aabbMin,
btVector3 aabbMax) |
boolean |
queryPoint(btVector3 ptInSDF,
double[] distOut,
btVector3 normal) |
boolean |
queryPoint(btVector3 ptInSDF,
DoubleBuffer distOut,
btVector3 normal) |
boolean |
queryPoint(btVector3 ptInSDF,
DoublePointer distOut,
btVector3 normal) |
void |
setLocalScaling(btVector3 scaling) |
void |
setMargin(double margin) |
calculateSerializeBufferSize, calculateTemporalAabb, getAngularMotionDisc, getAnisotropicRollingFrictionDirection, getBoundingSphere, getBoundingSphere, getBoundingSphere, getContactBreakingThreshold, getShapeType, getUserIndex, getUserIndex2, getUserPointer, isCompound, isConcave, isConvex, isConvex2d, isInfinite, isNonMoving, isPolyhedral, isSoftBody, serialize, 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, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public btSdfCollisionShape(Pointer p)
Pointer(Pointer)
.public btSdfCollisionShape(long size)
Pointer.position(long)
.public btSdfCollisionShape()
public btSdfCollisionShape position(long position)
public btSdfCollisionShape getPointer(long i)
getPointer
in class Pointer
@Cast(value="bool") public boolean initializeSDF(@Cast(value="const char*") BytePointer sdfData, int sizeInBytes)
public void getAabb(@Const @ByRef btTransform t, @ByRef btVector3 aabbMin, @ByRef btVector3 aabbMax)
btCollisionShape
getAabb
in class btCollisionShape
public void setLocalScaling(@Const @ByRef btVector3 scaling)
setLocalScaling
in class btCollisionShape
@Const @ByRef public btVector3 getLocalScaling()
getLocalScaling
in class btCollisionShape
public void calculateLocalInertia(@Cast(value="btScalar") double mass, @ByRef btVector3 inertia)
calculateLocalInertia
in class btCollisionShape
@Cast(value="const char*") public BytePointer getName()
getName
in class btCollisionShape
public void setMargin(@Cast(value="btScalar") double margin)
setMargin
in class btConcaveShape
@Cast(value="btScalar") public double getMargin()
getMargin
in class btConcaveShape
public void processAllTriangles(btTriangleCallback callback, @Const @ByRef btVector3 aabbMin, @Const @ByRef btVector3 aabbMax)
processAllTriangles
in class btConcaveShape
@Cast(value="bool") public boolean queryPoint(@Const @ByRef btVector3 ptInSDF, @Cast(value="btScalar*") @ByRef DoublePointer distOut, @ByRef btVector3 normal)
@Cast(value="bool") public boolean queryPoint(@Const @ByRef btVector3 ptInSDF, @Cast(value="btScalar*") @ByRef DoubleBuffer distOut, @ByRef btVector3 normal)
Copyright © 2024. All rights reserved.