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

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

public class MeshCollisionShape
extends CollisionShape

Basic mesh collision shape


コンストラクタの概要
MeshCollisionShape()
           
MeshCollisionShape(Mesh mesh)
          creates a collision shape from the given TriMesh
 
メソッドの概要
 Mesh createJmeMesh()
          creates a jme mesh from the collision shape, only needed for debugging
 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
 

コンストラクタの詳細

MeshCollisionShape

public MeshCollisionShape()

MeshCollisionShape

public MeshCollisionShape(Mesh mesh)
creates a collision shape from the given TriMesh

パラメータ:
mesh - the TriMesh to use
メソッドの詳細

createJmeMesh

public Mesh createJmeMesh()
creates a jme mesh from the collision shape, only needed for debugging


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