public class PlaneCollisionShape extends CollisionShape
margin, objectId, scale| Constructor and Description |
|---|
PlaneCollisionShape() |
PlaneCollisionShape(com.jme3.math.Plane plane)
Creates a plane Collision shape
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
createShape() |
com.jme3.math.Plane |
getPlane() |
void |
read(com.jme3.export.JmeImporter im) |
void |
write(com.jme3.export.JmeExporter ex) |
finalize, getMargin, getObjectId, getScale, setMargin, setObjectId, setScalepublic PlaneCollisionShape()
public PlaneCollisionShape(com.jme3.math.Plane plane)
plane - the plane that defines the shapepublic final com.jme3.math.Plane getPlane()
public void write(com.jme3.export.JmeExporter ex)
throws java.io.IOException
write in interface com.jme3.export.Savablewrite in class CollisionShapejava.io.IOExceptionpublic void read(com.jme3.export.JmeImporter im)
throws java.io.IOException
read in interface com.jme3.export.Savableread in class CollisionShapejava.io.IOExceptionprotected void createShape()