|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectcom.jme3.bullet.collision.PhysicsCollisionObject
public abstract class PhysicsCollisionObject
Base class for collision objects (PhysicsRigidBody, PhysicsGhostObject)
| フィールドの概要 | |
|---|---|
static int |
COLLISION_GROUP_01
|
static int |
COLLISION_GROUP_02
|
static int |
COLLISION_GROUP_03
|
static int |
COLLISION_GROUP_04
|
static int |
COLLISION_GROUP_05
|
static int |
COLLISION_GROUP_06
|
static int |
COLLISION_GROUP_07
|
static int |
COLLISION_GROUP_08
|
static int |
COLLISION_GROUP_09
|
static int |
COLLISION_GROUP_10
|
static int |
COLLISION_GROUP_11
|
static int |
COLLISION_GROUP_12
|
static int |
COLLISION_GROUP_13
|
static int |
COLLISION_GROUP_14
|
static int |
COLLISION_GROUP_15
|
static int |
COLLISION_GROUP_16
|
static int |
COLLISION_GROUP_NONE
|
| コンストラクタの概要 | |
|---|---|
PhysicsCollisionObject()
|
|
| メソッドの概要 | |
|---|---|
void |
addCollideWithGroup(int collisionGroup)
Add a group that this object will collide with. |
Spatial |
createDebugShape(AssetManager manager)
creates a debug shape for this CollisionObject |
Spatial |
debugShape()
|
void |
detachDebugShape()
Removes the debug shape |
int |
getCollideWithGroups()
Gets the bitmask of collision groups that this object collides with. |
int |
getCollisionGroup()
Returns the collision group for this collision shape |
CollisionShape |
getCollisionShape()
|
java.lang.Object |
getUserObject()
|
void |
read(JmeImporter e)
|
void |
removeCollideWithGroup(int collisionGroup)
Remove a group from the list this object collides with. |
void |
setCollideWithGroups(int collisionGroups)
Directly set the bitmask for collision groups that this object collides with. |
void |
setCollisionGroup(int collisionGroup)
Sets the collision group number for this physics object. |
void |
setCollisionShape(CollisionShape collisionShape)
Sets a CollisionShape to this physics object, note that the object should not be in the physics space when adding a new collision shape as it is rebuilt on the physics side. |
void |
setUserObject(java.lang.Object userObject)
|
void |
write(JmeExporter e)
|
| クラス java.lang.Object から継承されたメソッド |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
|---|
public static final int COLLISION_GROUP_NONE
public static final int COLLISION_GROUP_01
public static final int COLLISION_GROUP_02
public static final int COLLISION_GROUP_03
public static final int COLLISION_GROUP_04
public static final int COLLISION_GROUP_05
public static final int COLLISION_GROUP_06
public static final int COLLISION_GROUP_07
public static final int COLLISION_GROUP_08
public static final int COLLISION_GROUP_09
public static final int COLLISION_GROUP_10
public static final int COLLISION_GROUP_11
public static final int COLLISION_GROUP_12
public static final int COLLISION_GROUP_13
public static final int COLLISION_GROUP_14
public static final int COLLISION_GROUP_15
public static final int COLLISION_GROUP_16
| コンストラクタの詳細 |
|---|
public PhysicsCollisionObject()
| メソッドの詳細 |
|---|
public void setCollisionShape(CollisionShape collisionShape)
collisionShape - the CollisionShape to setpublic CollisionShape getCollisionShape()
public int getCollisionGroup()
public void setCollisionGroup(int collisionGroup)
collisionGroup - the collisionGroup to setpublic void addCollideWithGroup(int collisionGroup)
collisionGroup - public void removeCollideWithGroup(int collisionGroup)
collisionGroup - public void setCollideWithGroups(int collisionGroups)
collisionGroup - public int getCollideWithGroups()
public Spatial createDebugShape(AssetManager manager)
manager -
public Spatial debugShape()
public void detachDebugShape()
public java.lang.Object getUserObject()
public void setUserObject(java.lang.Object userObject)
userObject - the userObject to set
public void write(JmeExporter e)
throws java.io.IOException
Savable 内の writejava.io.IOException
public void read(JmeImporter e)
throws java.io.IOException
Savable 内の readjava.io.IOException
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||