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

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

public class SphereCollisionShape
extends CollisionShape

Basic sphere collision shape


コンストラクタの概要
SphereCollisionShape()
           
SphereCollisionShape(float radius)
          creates a SphereCollisionShape with the given radius
 
メソッドの概要
 float getRadius()
           
 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
 

コンストラクタの詳細

SphereCollisionShape

public SphereCollisionShape()

SphereCollisionShape

public SphereCollisionShape(float radius)
creates a SphereCollisionShape with the given radius

パラメータ:
radius -
メソッドの詳細

getRadius

public float getRadius()

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