com.jme3.bullet.collision.shapes
クラス CylinderCollisionShape
java.lang.Object
com.jme3.bullet.collision.shapes.CollisionShape
com.jme3.bullet.collision.shapes.CylinderCollisionShape
- すべての実装されたインタフェース:
- Savable
public class CylinderCollisionShape
- extends CollisionShape
Basic cylinder collision shape
| クラス java.lang.Object から継承されたメソッド |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CylinderCollisionShape
public CylinderCollisionShape()
CylinderCollisionShape
public CylinderCollisionShape(Vector3f halfExtents)
- creates a cylinder shape from the given halfextents
- パラメータ:
halfExtents - the halfextents to use
CylinderCollisionShape
public CylinderCollisionShape(Vector3f halfExtents,
int axis)
- Creates a cylinder shape around the given axis from the given halfextents
- パラメータ:
halfExtents - the halfextents to useaxis - (0=X,1=Y,2=Z)
getHalfExtents
public final Vector3f getHalfExtents()
getAxis
public int getAxis()
write
public void write(JmeExporter ex)
throws java.io.IOException
- 定義:
- インタフェース
Savable 内の write - オーバーライド:
- クラス
CollisionShape 内の write
- 例外:
java.io.IOException
read
public void read(JmeImporter im)
throws java.io.IOException
- 定義:
- インタフェース
Savable 内の read - オーバーライド:
- クラス
CollisionShape 内の read
- 例外:
java.io.IOException