public class PlaneCollisionShape extends CollisionShape
margin, objectId, scale| Modifier | Constructor and Description |
|---|---|
protected |
PlaneCollisionShape()
No-argument constructor needed by SavableClassUtil.
|
|
PlaneCollisionShape(com.jme3.math.Plane plane)
Instantiate a plane shape defined by the specified plane.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
createShape()
Instantiate the configured shape in Bullet.
|
com.jme3.math.Plane |
getPlane()
Access the defining plane.
|
void |
read(com.jme3.export.JmeImporter im)
De-serialize this shape, for example when loading from a J3O file.
|
void |
write(com.jme3.export.JmeExporter ex)
Serialize this shape, for example when saving to a J3O file.
|
finalize, getDefaultMargin, getMargin, getObjectId, getScale, isNonMoving, setDefaultMargin, setMargin, setObjectId, setScaleprotected PlaneCollisionShape()
public PlaneCollisionShape(com.jme3.math.Plane plane)
plane - the desired plane (not null, alias created)public 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 CollisionShapeex - exporter (not null)java.io.IOException - from exporterpublic void read(com.jme3.export.JmeImporter im)
throws java.io.IOException
read in interface com.jme3.export.Savableread in class CollisionShapeim - importer (not null)java.io.IOException - from importerprotected void createShape()