Package com.jme3.bullet.collision.shapes
Class HullCollisionShape
java.lang.Object
com.jme3.bullet.collision.shapes.CollisionShape
com.jme3.bullet.collision.shapes.HullCollisionShape
- All Implemented Interfaces:
Savable
-
Field Summary
Fields inherited from class com.jme3.bullet.collision.shapes.CollisionShape
cShape, margin, scale
-
Constructor Summary
ModifierConstructorDescriptionprotected
HullCollisionShape
(float[] points) HullCollisionShape
(Mesh mesh) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
createShape
(float[] points) protected float[]
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
-
HullCollisionShape
protected HullCollisionShape() -
HullCollisionShape
-
HullCollisionShape
public HullCollisionShape(float[] points)
-
-
Method Details
-
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(float[] points) -
getPoints
-