public class btTriangleIndexVertexArray extends btStridingMeshInterface
className| Constructor and Description |
|---|
btTriangleIndexVertexArray() |
btTriangleIndexVertexArray(Iterable<T> meshParts) |
btTriangleIndexVertexArray(long cPtr,
boolean cMemoryOwn)
Construct a new btTriangleIndexVertexArray, normally you should not need this constructor it's intended for low-level usage.
|
btTriangleIndexVertexArray(MeshPart meshPart) |
calculateAabbBruteForce, calculateSerializeBufferSize, getCPtr, getNumSubParts, getPremadeAabb, getScaling, hasPremadeAabb, InternalProcessAllTriangles, preallocateIndices, preallocateVertices, serialize, setPremadeAabb, setScaling, unLockReadOnlyVertexBase, unLockVertexBaseequals, getCPointer, hashCode, hasOwnership, isDisposed, isObtained, obtain, release, releaseOwnership, takeOwnership, toStringpublic btTriangleIndexVertexArray(long cPtr,
boolean cMemoryOwn)
public btTriangleIndexVertexArray(MeshPart meshPart)
public btTriangleIndexVertexArray(Iterable<T> meshParts)
public btTriangleIndexVertexArray()
public static long getCPtr(btTriangleIndexVertexArray obj)
public static <T> boolean compare(btTriangleIndexVertexArray array, Array<T> tags)
public static <T extends MeshPart> btTriangleIndexVertexArray obtain(Array<T> meshParts)
MeshPart array.
Use BulletBase.release() to release the mesh when it's no longer needed.public int getIndexedMeshCount()
public btIndexedMesh getIndexedMesh(int index)
btIndexedMesh at the specified index.public btTriangleIndexVertexArray addMeshPart(MeshPart meshPart)
MeshPart instance to this btTriangleIndexVertexArray.
The specified mesh must be indexed and triangulated and must outlive this btTriangleIndexVertexArray.
The buffers for the vertices and indices are shared amongst both.public btTriangleIndexVertexArray addMeshParts(MeshPart... meshParts)
MeshPart instances to this btTriangleIndexVertexArray.
The specified meshes must be indexed and triangulated and must outlive this btTriangleIndexVertexArray.
The buffers for the vertices and indices are shared amongst both.public <T extends MeshPart> btTriangleIndexVertexArray addMeshParts(Iterable<T> meshParts)
MeshPart instances to this btTriangleIndexVertexArray.
The specified meshes must be indexed and triangulated and must outlive this btTriangleIndexVertexArray.
The buffers for the vertices and indices are shared amongst both.public <T extends NodePart> btTriangleIndexVertexArray addNodeParts(Iterable<T> nodeParts)
NodePart instances to this btTriangleIndexVertexArray.
The specified meshes must be indexed and triangulated and must outlive this btTriangleIndexVertexArray.
The buffers for the vertices and indices are shared amongst both.public btTriangleIndexVertexArray addIndexedMesh(btIndexedMesh mesh, int indexType)
btIndexedMesh to this arraypublic btTriangleIndexVertexArray addIndexedMesh(btIndexedMesh mesh)
btIndexedMesh to this arraypublic void dispose()
dispose in interface Disposabledispose in class BulletBasepublic long operatorNew(long sizeInBytes)
operatorNew in class btStridingMeshInterfacepublic void operatorDelete(long ptr)
operatorDelete in class btStridingMeshInterfacepublic long operatorNew(long arg0,
long ptr)
operatorNew in class btStridingMeshInterfacepublic void operatorDelete(long arg0,
long arg1)
operatorDelete in class btStridingMeshInterfacepublic long operatorNewArray(long sizeInBytes)
operatorNewArray in class btStridingMeshInterfacepublic void operatorDeleteArray(long ptr)
operatorDeleteArray in class btStridingMeshInterfacepublic long operatorNewArray(long arg0,
long ptr)
operatorNewArray in class btStridingMeshInterfacepublic void operatorDeleteArray(long arg0,
long arg1)
operatorDeleteArray in class btStridingMeshInterfacepublic void getLockedVertexIndexBase(SWIGTYPE_p_p_unsigned_char vertexbase, SWIGTYPE_p_int numverts, SWIGTYPE_p_PHY_ScalarType type, SWIGTYPE_p_int vertexStride, SWIGTYPE_p_p_unsigned_char indexbase, SWIGTYPE_p_int indexstride, SWIGTYPE_p_int numfaces, SWIGTYPE_p_PHY_ScalarType indicestype, int subpart)
getLockedVertexIndexBase in class btStridingMeshInterfacepublic void getLockedVertexIndexBase(SWIGTYPE_p_p_unsigned_char vertexbase, SWIGTYPE_p_int numverts, SWIGTYPE_p_PHY_ScalarType type, SWIGTYPE_p_int vertexStride, SWIGTYPE_p_p_unsigned_char indexbase, SWIGTYPE_p_int indexstride, SWIGTYPE_p_int numfaces, SWIGTYPE_p_PHY_ScalarType indicestype)
getLockedVertexIndexBase in class btStridingMeshInterfacepublic void getLockedReadOnlyVertexIndexBase(SWIGTYPE_p_p_unsigned_char vertexbase, SWIGTYPE_p_int numverts, SWIGTYPE_p_PHY_ScalarType type, SWIGTYPE_p_int vertexStride, SWIGTYPE_p_p_unsigned_char indexbase, SWIGTYPE_p_int indexstride, SWIGTYPE_p_int numfaces, SWIGTYPE_p_PHY_ScalarType indicestype, int subpart)
getLockedReadOnlyVertexIndexBase in class btStridingMeshInterfacepublic void getLockedReadOnlyVertexIndexBase(SWIGTYPE_p_p_unsigned_char vertexbase, SWIGTYPE_p_int numverts, SWIGTYPE_p_PHY_ScalarType type, SWIGTYPE_p_int vertexStride, SWIGTYPE_p_p_unsigned_char indexbase, SWIGTYPE_p_int indexstride, SWIGTYPE_p_int numfaces, SWIGTYPE_p_PHY_ScalarType indicestype)
getLockedReadOnlyVertexIndexBase in class btStridingMeshInterfacepublic SWIGTYPE_p_btAlignedObjectArrayT_btIndexedMesh_t getIndexedMeshArray()
Copyright © 2021. All rights reserved.