|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectcom.jme3.bullet.collision.shapes.CollisionShape
com.jme3.bullet.collision.shapes.CompoundCollisionShape
public class CompoundCollisionShape
A CompoundCollisionShape allows combining multiple base shapes to generate a more sophisticated shape.
| コンストラクタの概要 | |
|---|---|
CompoundCollisionShape()
|
|
| メソッドの概要 | |
|---|---|
void |
addChildShape(CollisionShape shape,
Vector3f location)
adds a child shape at the given local translation |
void |
addChildShape(CollisionShape shape,
Vector3f location,
Matrix3f rotation)
adds a child shape at the given local translation |
java.util.List<ChildCollisionShape> |
getChildren()
|
void |
read(JmeImporter im)
|
void |
removeChildShape(CollisionShape shape)
removes a child shape |
void |
setScale(Vector3f scale)
WARNING - CompoundCollisionShape scaling has no effect. |
void |
write(JmeExporter ex)
|
| クラス com.jme3.bullet.collision.shapes.CollisionShape から継承されたメソッド |
|---|
calculateLocalInertia, getCShape, getMargin, getScale, setCShape, setMargin |
| クラス java.lang.Object から継承されたメソッド |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public CompoundCollisionShape()
| メソッドの詳細 |
|---|
public void addChildShape(CollisionShape shape,
Vector3f location)
shape - the child shape to addlocation - the local location of the child shape
public void addChildShape(CollisionShape shape,
Vector3f location,
Matrix3f rotation)
shape - the child shape to addlocation - the local location of the child shapepublic void removeChildShape(CollisionShape shape)
shape - the child shape to removepublic java.util.List<ChildCollisionShape> getChildren()
public void setScale(Vector3f scale)
CollisionShape 内の setScale
public void write(JmeExporter ex)
throws java.io.IOException
Savable 内の writeCollisionShape 内の writejava.io.IOException
public void read(JmeImporter im)
throws java.io.IOException
Savable 内の readCollisionShape 内の readjava.io.IOException
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||