com.jme3.bullet.collision.shapes
Class GImpactCollisionShape
java.lang.Object
com.jme3.bullet.collision.shapes.CollisionShape
com.jme3.bullet.collision.shapes.GImpactCollisionShape
- All Implemented Interfaces:
- Savable
public class GImpactCollisionShape
- extends CollisionShape
Basic mesh collision shape
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
numVertices
protected int numVertices
numTriangles
protected int numTriangles
vertexStride
protected int vertexStride
triangleIndexStride
protected int triangleIndexStride
triangleIndexBase
protected java.nio.ByteBuffer triangleIndexBase
vertexBase
protected java.nio.ByteBuffer vertexBase
meshId
protected long meshId
GImpactCollisionShape
public GImpactCollisionShape()
GImpactCollisionShape
public GImpactCollisionShape(Mesh mesh)
- creates a collision shape from the given Mesh
- Parameters:
mesh
- the Mesh to use
write
public void write(JmeExporter ex)
throws java.io.IOException
- Specified by:
write
in interface Savable
- Overrides:
write
in class CollisionShape
- Throws:
java.io.IOException
read
public void read(JmeImporter im)
throws java.io.IOException
- Specified by:
read
in interface Savable
- Overrides:
read
in class CollisionShape
- Throws:
java.io.IOException
createShape
protected void createShape()
finalize
protected void finalize()
throws java.lang.Throwable
- Overrides:
finalize
in class CollisionShape
- Throws:
java.lang.Throwable