@NoOffset @Properties(inherit=BulletCollision.class) public class btTriangleShape extends btPolyhedralConvexShape
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
btTriangleShape() |
btTriangleShape(btVector3 p0,
btVector3 p1,
btVector3 p2) |
btTriangleShape(long size)
Native array allocator.
|
btTriangleShape(Pointer p)
Pointer cast constructor.
|
getConvexPolyhedron, initializePolyhedralFeatures, initializePolyhedralFeatures, setPolyhedralFeaturescalculateSerializeBufferSize, getAabbSlow, getImplicitShapeDimensions, getLocalScaling, getLocalScalingNV, getMargin, getMarginNV, localGetSupportingVertex, serialize, setImplicitShapeDimensions, setLocalScaling, setMargin, 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, 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, zeropublic btTriangleShape(Pointer p)
Pointer(Pointer).public btTriangleShape(long size)
Pointer.position(long).public btTriangleShape()
public btTriangleShape position(long position)
public btTriangleShape getPointer(long i)
getPointer in class Pointerpublic btTriangleShape m_vertices1(int i, btVector3 setter)
@MemberGetter public btVector3 m_vertices1()
public int getNumVertices()
getNumVertices in class btPolyhedralConvexShapepublic void getVertex(int index,
@ByRef
btVector3 vert)
getVertex in class btPolyhedralConvexShapepublic int getNumEdges()
getNumEdges in class btPolyhedralConvexShapepublic void getEdge(int i,
@ByRef
btVector3 pa,
@ByRef
btVector3 pb)
getEdge in class btPolyhedralConvexShapepublic void getAabb(@Const @ByRef btTransform t, @ByRef btVector3 aabbMin, @ByRef btVector3 aabbMax)
btConvexInternalShapegetAabb in class btConvexInternalShape@ByVal public btVector3 localGetSupportingVertexWithoutMargin(@Const @ByRef btVector3 dir)
localGetSupportingVertexWithoutMargin in class btPolyhedralConvexShapepublic void batchedUnitVectorGetSupportingVertexWithoutMargin(@Const btVector3 vectors, btVector3 supportVerticesOut, int numVectors)
batchedUnitVectorGetSupportingVertexWithoutMargin in class btPolyhedralConvexShapepublic void getPlane(@ByRef btVector3 planeNormal, @ByRef btVector3 planeSupport, int i)
getPlane in class btPolyhedralConvexShapepublic int getNumPlanes()
getNumPlanes in class btPolyhedralConvexShapepublic void getPlaneEquation(int i,
@ByRef
btVector3 planeNormal,
@ByRef
btVector3 planeSupport)
public void calculateLocalInertia(@Cast(value="btScalar") double mass, @ByRef btVector3 inertia)
calculateLocalInertia in class btPolyhedralConvexShape@Cast(value="bool") public boolean isInside(@Const @ByRef btVector3 pt, @Cast(value="btScalar") double tolerance)
isInside in class btPolyhedralConvexShape@Cast(value="const char*") public BytePointer getName()
getName in class btCollisionShapepublic int getNumPreferredPenetrationDirections()
getNumPreferredPenetrationDirections in class btConvexInternalShapepublic void getPreferredPenetrationDirection(int index,
@ByRef
btVector3 penetrationVector)
getPreferredPenetrationDirection in class btConvexInternalShapeCopyright © 2024. All rights reserved.