public class ConeCollisionShape extends CollisionShape
| Modifier and Type | Field and Description |
|---|---|
protected int |
axis |
protected float |
height |
protected float |
radius |
margin, objectId, scale| Constructor and Description |
|---|
ConeCollisionShape() |
ConeCollisionShape(float radius,
float height) |
ConeCollisionShape(float radius,
float height,
int axis) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createShape() |
float |
getHeight() |
float |
getRadius() |
void |
read(com.jme3.export.JmeImporter im) |
void |
write(com.jme3.export.JmeExporter ex) |
finalize, getMargin, getObjectId, getScale, setMargin, setObjectId, setScalepublic ConeCollisionShape()
public ConeCollisionShape(float radius,
float height,
int axis)
public ConeCollisionShape(float radius,
float height)
public float getRadius()
public float getHeight()
public void write(com.jme3.export.JmeExporter ex)
throws java.io.IOException
write in interface com.jme3.export.Savablewrite in class CollisionShapejava.io.IOExceptionpublic void read(com.jme3.export.JmeImporter im)
throws java.io.IOException
read in interface com.jme3.export.Savableread in class CollisionShapejava.io.IOExceptionprotected void createShape()