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

java.lang.Object
  上位を拡張 com.jme3.bullet.collision.shapes.CollisionShape
すべての実装されたインタフェース:
Savable
直系の既知のサブクラス:
BoxCollisionShape, CapsuleCollisionShape, CompoundCollisionShape, ConeCollisionShape, CylinderCollisionShape, GImpactCollisionShape, HeightfieldCollisionShape, HullCollisionShape, MeshCollisionShape, PlaneCollisionShape, SimplexCollisionShape, SphereCollisionShape

public abstract class CollisionShape
extends java.lang.Object
implements Savable

This Object holds information about a jbullet CollisionShape to be able to reuse CollisionShapes (as suggested in bullet manuals) TODO: add static methods to create shapes from nodes (like jbullet-jme constructor)


コンストラクタの概要
CollisionShape()
           
 
メソッドの概要
 void calculateLocalInertia(float mass, javax.vecmath.Vector3f vector)
          used internally, not safe
 com.bulletphysics.collision.shapes.CollisionShape getCShape()
          used internally
 float getMargin()
           
 Vector3f getScale()
           
 void read(JmeImporter im)
           
 void setCShape(com.bulletphysics.collision.shapes.CollisionShape cShape)
          used internally
 void setMargin(float margin)
           
 void setScale(Vector3f scale)
           
 void write(JmeExporter ex)
           
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

CollisionShape

public CollisionShape()
メソッドの詳細

calculateLocalInertia

public void calculateLocalInertia(float mass,
                                  javax.vecmath.Vector3f vector)
used internally, not safe


getCShape

public com.bulletphysics.collision.shapes.CollisionShape getCShape()
used internally


setCShape

public void setCShape(com.bulletphysics.collision.shapes.CollisionShape cShape)
used internally


setScale

public void setScale(Vector3f scale)

getMargin

public float getMargin()

setMargin

public void setMargin(float margin)

getScale

public Vector3f getScale()

write

public void write(JmeExporter ex)
           throws java.io.IOException
定義:
インタフェース Savable 内の write
例外:
java.io.IOException

read

public void read(JmeImporter im)
          throws java.io.IOException
定義:
インタフェース Savable 内の read
例外:
java.io.IOException