| Modifier and Type | Field and Description |
|---|---|
| protected static final Array | |
| private long | |
| public Object | tag
The tag to identify this btIndexedMesh, may be null. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | btIndexedMesh(long cPtr, boolean cMemoryOwn)
Construct a new btIndexedMesh, normally you should not need this constructor it's intended for low-level usage. |
| public | btIndexedMesh(final Mesh mesh)
Construct a new btIndexedMesh based on the supplied |
| public | btIndexedMesh(final MeshPart meshPart)
Construct a new btIndexedMesh based on the supplied |
| public | btIndexedMesh(final Mesh mesh, int offset, int count)
Construct a new btIndexedMesh based on the supplied |
| public | btIndexedMesh(final FloatBuffer vertices, int sizeInBytesOfEachVertex, int vertexCount, int positionOffsetInBytes, final ShortBuffer indices, int indexOffset, int indexCount)
Construct a new btIndexedMesh based on the supplied vertex and index data. |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected synchronized void | delete()
Overrides com. Deletes the bullet object this class encapsulates. |
| protected void | finalize()
Overrides com. Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. |
| public static long | |
| public int | |
| protected static btIndexedMesh | |
| public int | |
| public int | |
| public ByteBuffer | |
| public int | |
| public ByteBuffer | |
| public int | |
| public int | |
| public static btIndexedMesh | |
| public static btIndexedMesh | obtain(final Object tag, final FloatBuffer vertices, int sizeInBytesOfEachVertex, int vertexCount, int positionOffsetInBytes, final ShortBuffer indices, int indexOffset, int indexCount)
Create or reuse a btIndexedMesh instance based on the specified tag. |
| public void | |
| public void | |
| public void | |
| public void | |
| public long | |
| public long | |
| public long | |
| public long | |
| protected void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | set(final FloatBuffer vertices, int sizeInBytesOfEachVertex, int vertexCount, int positionOffsetInBytes, final ShortBuffer indices, int indexOffset, int indexCount)
Convenience method to set this btIndexedMesh to the specified vertex and index data. |
| public void | set(final Object tag, final FloatBuffer vertices, int sizeInBytesOfEachVertex, int vertexCount, int positionOffsetInBytes, final ShortBuffer indices, int indexOffset, int indexCount)
Convenience method to set this btIndexedMesh to the specified vertex and index data. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setVertices(FloatBuffer vertices, int sizeInBytesOfEachVertex, int vertexCount, int positionOffsetInBytes)
|
| instances | back to summary |
|---|---|
| protected static final Array<btIndexedMesh> instances | |
| swigCPtr | back to summary |
|---|---|
| private long swigCPtr | |
| tag | back to summary |
|---|---|
| public Object tag The tag to identify this btIndexedMesh, may be null. Typically this is the | |
| btIndexedMesh | back to summary |
|---|---|
| protected btIndexedMesh(final String className, long cPtr, boolean cMemoryOwn) | |
| btIndexedMesh | back to summary |
|---|---|
| public btIndexedMesh(long cPtr, boolean cMemoryOwn) Construct a new btIndexedMesh, normally you should not need this constructor it's intended for low-level usage. | |
| btIndexedMesh | back to summary |
|---|---|
| public btIndexedMesh(final Mesh mesh) Construct a new btIndexedMesh based on the supplied | |
| btIndexedMesh | back to summary |
|---|---|
| public btIndexedMesh(final MeshPart meshPart) Construct a new btIndexedMesh based on the supplied | |
| btIndexedMesh | back to summary |
|---|---|
| public btIndexedMesh(final Mesh mesh, int offset, int count) Construct a new btIndexedMesh based on the supplied | |
| btIndexedMesh | back to summary |
|---|---|
| public btIndexedMesh(final FloatBuffer vertices, int sizeInBytesOfEachVertex, int vertexCount, int positionOffsetInBytes, final ShortBuffer indices, int indexOffset, int indexCount) Construct a new btIndexedMesh based on the supplied vertex and index data. The specified data must be indexed and triangulated and must outlive this btIndexedMesh. The buffers for the vertices and indices are shared amonst both. | |
| btIndexedMesh | back to summary |
|---|---|
| public btIndexedMesh() | |
| delete | back to summary |
|---|---|
| protected synchronized void delete() Overrides com. Doc from com. Deletes the bullet object this class encapsulates. Do not call directly, instead use the
| |
| finalize | back to summary |
|---|---|
| protected void finalize() throws Throwable Overrides com. Doc from java. Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.
A subclass overrides the
When running in a Java virtual machine in which finalization has been
disabled or removed, the garbage collector will never call
The general contract of
The
The Java programming language does not guarantee which thread will
invoke the
After the
The
Any exception thrown by the | |
| getCPtr | back to summary |
|---|---|
| public static long getCPtr(btIndexedMesh obj) | |
| getIndexType | back to summary |
|---|---|
| public int getIndexType() | |
| getInstance | back to summary |
|---|---|
| protected static btIndexedMesh getInstance(final Object tag) | |
| getNumTriangles | back to summary |
|---|---|
| public int getNumTriangles() | |
| getNumVertices | back to summary |
|---|---|
| public int getNumVertices() | |
| getTriangleIndexBase | back to summary |
|---|---|
| public ByteBuffer getTriangleIndexBase() | |
| getTriangleIndexStride | back to summary |
|---|---|
| public int getTriangleIndexStride() | |
| getVertexBase | back to summary |
|---|---|
| public ByteBuffer getVertexBase() | |
| getVertexStride | back to summary |
|---|---|
| public int getVertexStride() | |
| getVertexType | back to summary |
|---|---|
| public int getVertexType() | |
| obtain | back to summary |
|---|---|
| public static btIndexedMesh obtain(final MeshPart meshPart) Create or reuse a btIndexedMesh instance based on the specified | |
| obtain | back to summary |
|---|---|
| public static btIndexedMesh obtain(final Object tag, final FloatBuffer vertices, int sizeInBytesOfEachVertex, int vertexCount, int positionOffsetInBytes, final ShortBuffer indices, int indexOffset, int indexCount) Create or reuse a btIndexedMesh instance based on the specified tag. Use | |
| operatorDelete | back to summary |
|---|---|
| public void operatorDelete(long ptr) | |
| operatorDelete | back to summary |
|---|---|
| public void operatorDelete(long arg0, long arg1) | |
| operatorDeleteArray | back to summary |
|---|---|
| public void operatorDeleteArray(long ptr) | |
| operatorDeleteArray | back to summary |
|---|---|
| public void operatorDeleteArray(long arg0, long arg1) | |
| operatorNew | back to summary |
|---|---|
| public long operatorNew(long sizeInBytes) | |
| operatorNew | back to summary |
|---|---|
| public long operatorNew(long arg0, long ptr) | |
| operatorNewArray | back to summary |
|---|---|
| public long operatorNewArray(long sizeInBytes) | |
| operatorNewArray | back to summary |
|---|---|
| public long operatorNewArray(long arg0, long ptr) | |
| reset | back to summary |
|---|---|
| protected void reset(long cPtr, boolean cMemoryOwn) Overrides com.
| |
| set | back to summary |
|---|---|
| public void set(final Mesh mesh) Convenience method to set this btIndexedMesh to the specified | |
| set | back to summary |
|---|---|
| public void set(final Object tag, final Mesh mesh) Convenience method to set this btIndexedMesh to the specified | |
| set | back to summary |
|---|---|
| public void set(final MeshPart meshPart) Convenience method to set this btIndexedMesh to the specified | |
| set | back to summary |
|---|---|
| public void set(final Mesh mesh, int offset, int count) Convenience method to set this btIndexedMesh to the specified | |
| set | back to summary |
|---|---|
| public void set(final Object tag, final Mesh mesh, int offset, int count) Convenience method to set this btIndexedMesh to the specified | |
| set | back to summary |
|---|---|
| public void set(final FloatBuffer vertices, int sizeInBytesOfEachVertex, int vertexCount, int positionOffsetInBytes, final ShortBuffer indices, int indexOffset, int indexCount) Convenience method to set this btIndexedMesh to the specified vertex and index data. The specified data must be indexed and triangulated and must outlive this btIndexedMesh. | |
| set | back to summary |
|---|---|
| public void set(final Object tag, final FloatBuffer vertices, int sizeInBytesOfEachVertex, int vertexCount, int positionOffsetInBytes, final ShortBuffer indices, int indexOffset, int indexCount) Convenience method to set this btIndexedMesh to the specified vertex and index data. The specified data must be indexed and triangulated and must outlive this btIndexedMesh. | |
| setIndexType | back to summary |
|---|---|
| public void setIndexType(int value) | |
| setIndices | back to summary |
|---|---|
| public void setIndices(ShortBuffer indices, int indexOffset, int indexCount) | |
| setNumTriangles | back to summary |
|---|---|
| public void setNumTriangles(int value) | |
| setNumVertices | back to summary |
|---|---|
| public void setNumVertices(int value) | |
| setTriangleIndexBase | back to summary |
|---|---|
| public void setTriangleIndexBase(ByteBuffer value) | |
| setTriangleIndexBase | back to summary |
|---|---|
| public void setTriangleIndexBase(ShortBuffer data) | |
| setTriangleIndexStride | back to summary |
|---|---|
| public void setTriangleIndexStride(int value) | |
| setVertexBase | back to summary |
|---|---|
| public void setVertexBase(ByteBuffer value) | |
| setVertexBase | back to summary |
|---|---|
| public void setVertexBase(FloatBuffer data) | |
| setVertexStride | back to summary |
|---|---|
| public void setVertexStride(int value) | |
| setVertexType | back to summary |
|---|---|
| public void setVertexType(int value) | |
| setVertices | back to summary |
|---|---|
| public void setVertices(FloatBuffer vertices, int sizeInBytesOfEachVertex, int vertexCount, int positionOffsetInBytes) | |