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


コンストラクタの概要
CylinderCollisionShape()
           
CylinderCollisionShape(Vector3f halfExtents)
          creates a cylinder shape from the given halfextents
CylinderCollisionShape(Vector3f halfExtents, int axis)
          Creates a cylinder shape around the given axis from the given halfextents
 
メソッドの概要
 int getAxis()
           
 Vector3f getHalfExtents()
           
 void read(JmeImporter im)
           
 void write(JmeExporter ex)
           
 
クラス com.jme3.bullet.collision.shapes.CollisionShape から継承されたメソッド
calculateLocalInertia, getCShape, getMargin, getScale, setCShape, setMargin, setScale
 
クラス 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 use
axis - (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