com.bulletphysics.collision.shapes
Class ByteBufferVertexData
java.lang.Object
com.bulletphysics.collision.shapes.VertexData
com.bulletphysics.collision.shapes.ByteBufferVertexData
public class ByteBufferVertexData
- extends VertexData
vertexData
public ByteBuffer vertexData
vertexCount
public int vertexCount
vertexStride
public int vertexStride
vertexType
public ScalarType vertexType
indexData
public ByteBuffer indexData
indexCount
public int indexCount
indexStride
public int indexStride
indexType
public ScalarType indexType
ByteBufferVertexData
public ByteBufferVertexData()
getVertexCount
public int getVertexCount()
- Specified by:
getVertexCount
in class VertexData
getIndexCount
public int getIndexCount()
- Specified by:
getIndexCount
in class VertexData
getVertex
public <T extends Tuple3f> T getVertex(int idx,
T out)
- Specified by:
getVertex
in class VertexData
setVertex
public void setVertex(int idx,
float x,
float y,
float z)
- Specified by:
setVertex
in class VertexData
getIndex
public int getIndex(int idx)
- Specified by:
getIndex
in class VertexData