@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, setPolyhedralFeatures
calculateSerializeBufferSize, getAabbSlow, getImplicitShapeDimensions, getLocalScaling, getLocalScalingNV, getMargin, getMarginNV, localGetSupportingVertex, serialize, setImplicitShapeDimensions, setLocalScaling, setMargin, 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, 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 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 Pointer
public btTriangleShape m_vertices1(int i, btVector3 setter)
@MemberGetter public btVector3 m_vertices1()
public int getNumVertices()
getNumVertices
in class btPolyhedralConvexShape
public void getVertex(int index, @ByRef btVector3 vert)
getVertex
in class btPolyhedralConvexShape
public int getNumEdges()
getNumEdges
in class btPolyhedralConvexShape
public void getEdge(int i, @ByRef btVector3 pa, @ByRef btVector3 pb)
getEdge
in class btPolyhedralConvexShape
public void getAabb(@Const @ByRef btTransform t, @ByRef btVector3 aabbMin, @ByRef btVector3 aabbMax)
btConvexInternalShape
getAabb
in class btConvexInternalShape
@ByVal public btVector3 localGetSupportingVertexWithoutMargin(@Const @ByRef btVector3 dir)
localGetSupportingVertexWithoutMargin
in class btPolyhedralConvexShape
public void batchedUnitVectorGetSupportingVertexWithoutMargin(@Const btVector3 vectors, btVector3 supportVerticesOut, int numVectors)
batchedUnitVectorGetSupportingVertexWithoutMargin
in class btPolyhedralConvexShape
public void getPlane(@ByRef btVector3 planeNormal, @ByRef btVector3 planeSupport, int i)
getPlane
in class btPolyhedralConvexShape
public int getNumPlanes()
getNumPlanes
in class btPolyhedralConvexShape
public 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 btCollisionShape
public int getNumPreferredPenetrationDirections()
getNumPreferredPenetrationDirections
in class btConvexInternalShape
public void getPreferredPenetrationDirection(int index, @ByRef btVector3 penetrationVector)
getPreferredPenetrationDirection
in class btConvexInternalShape
Copyright © 2024. All rights reserved.