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
ModifierConstructorDescriptionprotected
PlaneCollisionShape
(Plane plane) Creates a plane Collision shape -
Method Summary
Modifier and TypeMethodDescriptionprotected void
final Plane
getPlane()
void
read
(JmeImporter im) void
write
(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:
write
in interfaceSavable
- Overrides:
write
in classCollisionShape
- Throws:
IOException
-
read
- Specified by:
read
in interfaceSavable
- Overrides:
read
in classCollisionShape
- Throws:
IOException
-
createShape
protected void createShape()
-