Package com.jme3.bullet.collision.shapes
Class PlaneCollisionShape
java.lang.Object
com.jme3.bullet.collision.shapes.CollisionShape
com.jme3.bullet.collision.shapes.PlaneCollisionShape
- All Implemented Interfaces:
Savable
-
Field Summary
Fields inherited from class com.jme3.bullet.collision.shapes.CollisionShape
cShape, margin, scale -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPlaneCollisionShape(Plane plane) Creates a plane Collision shape -
Method Summary
Modifier and TypeMethodDescriptionprotected voidfinal PlanegetPlane()voidread(JmeImporter im) voidwrite(JmeExporter ex) Methods inherited from class com.jme3.bullet.collision.shapes.CollisionShape
calculateLocalInertia, getCShape, getDefaultMargin, getMargin, getScale, setCShape, setDefaultMargin, setMargin, setScale
-
Constructor Details
-
PlaneCollisionShape
protected PlaneCollisionShape() -
PlaneCollisionShape
Creates a plane Collision shape- Parameters:
plane- the plane that defines the shape
-
-
Method Details
-
getPlane
-
write
- Specified by:
writein interfaceSavable- Overrides:
writein classCollisionShape- Throws:
IOException
-
read
- Specified by:
readin interfaceSavable- Overrides:
readin classCollisionShape- Throws:
IOException
-
createShape
protected void createShape()
-