|
||||||||||
| 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.SphereCollideable
public abstract class SphereCollideable
A sphere collideable.
| Constructor Summary | |
|---|---|
SphereCollideable(CollisionEngine eng,
float radius)
Creates a new SphereCollideable. |
|
| Method Summary | |
|---|---|
Sphere |
getBaseGFX()
|
Sphere |
getDebugGFX()
|
static Appearance |
getDefaultAppearance()
|
java.lang.String |
getInfo()
|
float |
getRadius()
|
java.lang.String |
getType()
|
static void |
setDefaultAppearance(Appearance app)
|
static void |
setDefaultAppearance(java.lang.String texture)
|
static void |
setDefaultAppearance(Texture texture)
|
void |
setRadius(float radius)
Changes the radius of this Sphere. |
| 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 SphereCollideable(CollisionEngine eng,
float radius)
eng - radius - | 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 Sphere getBaseGFX()
Collideable.getDebugGFX()public Sphere getDebugGFX()
Collideable.getBaseGFX()public void setRadius(float radius)
radius - the new radiuspublic final float getRadius()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||