com.jme3.bullet.collision.shapes
クラス BoxCollisionShape

java.lang.Object
  上位を拡張 com.jme3.bullet.collision.shapes.CollisionShape
      上位を拡張 com.jme3.bullet.collision.shapes.BoxCollisionShape
すべての実装されたインタフェース:
Savable

public class BoxCollisionShape
extends CollisionShape

Basic box collision shape


コンストラクタの概要
BoxCollisionShape()
           
BoxCollisionShape(Vector3f halfExtents)
          creates a collision box from the given halfExtents
 
メソッドの概要
 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
 

コンストラクタの詳細

BoxCollisionShape

public BoxCollisionShape()

BoxCollisionShape

public BoxCollisionShape(Vector3f halfExtents)
creates a collision box from the given halfExtents

パラメータ:
halfExtents - the halfExtents of the CollisionBox
メソッドの詳細

getHalfExtents

public final Vector3f getHalfExtents()

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