|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xith3d.physics.collision.CollideableBase
org.xith3d.physics.collision.collideable.BoxCollideable
public abstract class BoxCollideable
A box collideable.
| Constructor Summary | |
|---|---|
BoxCollideable(CollisionEngine eng,
float xSize,
float ySize,
float zSize)
Creates a new Box collideable. |
|
BoxCollideable(CollisionEngine eng,
org.openmali.vecmath2.Tuple3f size)
Creates a new Box collideable. |
|
| Method Summary | |
|---|---|
Box |
getBaseGFX()
|
Box |
getDebugGFX()
|
static Appearance |
getDefaultAppearance()
|
java.lang.String |
getInfo()
|
org.openmali.vecmath2.Tuple3f |
getSize()
|
java.lang.String |
getType()
|
static void |
setDefaultAppearance(Appearance app)
|
static void |
setDefaultAppearance(java.lang.String texture)
|
static void |
setDefaultAppearance(Texture texture)
|
void |
setSize(float width,
float height,
float depth)
Changes the size of this Box collideable. |
void |
setSize(org.openmali.vecmath2.Tuple3f size)
Changes the size of this Box collideable. |
| Methods inherited from class org.xith3d.physics.collision.CollideableBase |
|---|
applyWorldPosition, applyWorldRotation, getBody, getEngine, getName, getParent, getPosition, getPosition, getRotation, getRotation, getRotationMatrix, getRotationMatrix, getUserObject, getWorldPos, getWorldPos, getWorldRot, getWorldRot, getWorldRotMat, getWorldRotMat, recomputeChildrenWorldCoords, recomputeWorldCoords, recomputeWorldPos, recomputeWorldRotMat, setBody, setName, setParent, setPosition, setPosition, setPosition, setPositionX, setPositionY, setPositionZ, setRotation, setRotation, setRotation, setRotationMatrix, setRotationMatrix, setRotationX, setRotationY, setRotationZ, setUserObject, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.xith3d.physics.collision.Collideable |
|---|
isEnabled, setEnabled |
| Constructor Detail |
|---|
public BoxCollideable(CollisionEngine eng,
float xSize,
float ySize,
float zSize)
eng - the collision engine we belong toxSize - ySize - zSize -
public BoxCollideable(CollisionEngine eng,
org.openmali.vecmath2.Tuple3f size)
eng - the collision engine we belong tosize - | Method Detail |
|---|
public static void setDefaultAppearance(Appearance app)
public static void setDefaultAppearance(Texture texture)
public static void setDefaultAppearance(java.lang.String texture)
public static Appearance getDefaultAppearance()
public final java.lang.String getInfo()
public final java.lang.String getType()
public Box getBaseGFX()
Collideable.getDebugGFX()public Box getDebugGFX()
Collideable.getBaseGFX()
public void setSize(float width,
float height,
float depth)
width - height - depth - public final void setSize(org.openmali.vecmath2.Tuple3f size)
size - public final org.openmali.vecmath2.Tuple3f getSize()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||