com.jme3.bullet.collision.shapes
Class PlaneCollisionShape

java.lang.Object
  extended by com.jme3.bullet.collision.shapes.CollisionShape
      extended by com.jme3.bullet.collision.shapes.PlaneCollisionShape
All Implemented Interfaces:
Savable

public class PlaneCollisionShape
extends CollisionShape


Field Summary
 
Fields inherited from class com.jme3.bullet.collision.shapes.CollisionShape
margin, objectId, scale
 
Constructor Summary
PlaneCollisionShape()
           
PlaneCollisionShape(Plane plane)
          Creates a plane Collision shape
 
Method Summary
protected  void createShape()
           
 Plane getPlane()
           
 void read(JmeImporter im)
           
 void write(JmeExporter ex)
           
 
Methods inherited from class com.jme3.bullet.collision.shapes.CollisionShape
finalize, getMargin, getObjectId, getScale, setMargin, setObjectId, setScale
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlaneCollisionShape

public PlaneCollisionShape()

PlaneCollisionShape

public PlaneCollisionShape(Plane plane)
Creates a plane Collision shape

Parameters:
plane - the plane that defines the shape
Method Detail

getPlane

public final Plane getPlane()

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()