|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jme.scene.Spatial
com.jmex.physics.PhysicsCollisionGeometry
com.jmex.physics.geometry.PhysicsRay
public abstract class PhysicsRay
Ray has a direction of (1,1,1) and starts at (0,0,0) - change direction via local scale and start via local translation.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.jme.scene.Spatial |
|---|
com.jme.scene.Spatial.CullHint, com.jme.scene.Spatial.LightCombineMode, com.jme.scene.Spatial.NormalsMode, com.jme.scene.Spatial.TextureCombineMode |
| Field Summary |
|---|
| Fields inherited from class com.jmex.physics.PhysicsCollisionGeometry |
|---|
MATERIAL_PROPERTY, PHYSICS_NODE_PROPERTY |
| Fields inherited from class com.jme.scene.Spatial |
|---|
cullHint, frustrumIntersects, geometricalControllers, isCollidable, lightCombineMode, localRotation, localScale, localTranslation, LOCKED_BOUNDS, LOCKED_BRANCH, LOCKED_MESH_DATA, LOCKED_NONE, LOCKED_SHADOWS, LOCKED_TRANSFORMS, lockedMode, name, normalsMode, parent, queueDistance, renderQueueMode, renderStateList, textureCombineMode, worldBound, worldRotation, worldScale, worldTranslation, zOrder |
| Constructor Summary | |
|---|---|
protected |
PhysicsRay(PhysicsNode node)
|
| Method Summary | |
|---|---|
protected void |
drawDebugShape(PhysicsNode physicsNode,
com.jme.renderer.Renderer r)
Draw a visual representation of this physical collision bound. |
java.lang.Class |
getClassTag()
|
float |
getVolume()
Query the volume of this geometry. |
| Methods inherited from class com.jmex.physics.PhysicsCollisionGeometry |
|---|
draw, findCollisions, findPick, getCollisionEventHandler, getMaterial, getPhysicsNode, getTriangleCount, getVertexCount, hasCollision, read, readPhysicsNodeFromInputCapsule, setMaterial, setModelBound, setNode, setParent, updateModelBound, updateWorldBound, write |
| Methods inherited from class com.jme.scene.Spatial |
|---|
addController, applyRenderState, calculateCollisions, calculatePick, clearControllers, clearRenderState, clearRenderState, getController, getControllerCount, getControllers, getCullHint, getLastFrustumIntersection, getLightCombineMode, getLocalCullHint, getLocalLightCombineMode, getLocalNormalsMode, getLocalRenderQueueMode, getLocalRotation, getLocalScale, getLocalTextureCombineMode, getLocalToWorldMatrix, getLocalTranslation, getLocks, getName, getNormalsMode, getParent, getRenderQueueMode, getRenderState, getRenderState, getTextureCombineMode, getUserData, getWorldBound, getWorldRotation, getWorldScale, getWorldTranslation, getZOrder, hasAncestor, isCollidable, localToWorld, lock, lock, lockBounds, lockBranch, lockMeshes, lockMeshes, lockShadows, lockTransforms, lookAt, onDraw, propagateBoundToRoot, propagateStatesFromRoot, removeController, removeController, removeFromParent, removeUserData, rotateUpTo, setCullHint, setIsCollidable, setLastFrustumIntersection, setLightCombineMode, setLocalRotation, setLocalRotation, setLocalScale, setLocalScale, setLocalTranslation, setLocalTranslation, setLocks, setLocks, setName, setNormalsMode, setRenderQueueMode, setRenderState, setTextureCombineMode, setUserData, setZOrder, setZOrder, sortLights, toString, unlock, unlock, unlockBounds, unlockBranch, unlockMeshes, unlockMeshes, unlockShadows, unlockTransforms, updateGeometricState, updateRenderState, updateRenderState, updateWorldData, updateWorldRotation, updateWorldScale, updateWorldTranslation, updateWorldVectors, updateWorldVectors, worldToLocal |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected PhysicsRay(PhysicsNode node)
| Method Detail |
|---|
protected void drawDebugShape(PhysicsNode physicsNode,
com.jme.renderer.Renderer r)
PhysicsCollisionGeometry
drawDebugShape in class PhysicsCollisionGeometryphysicsNode - node this geometry belongs tor - where to draw topublic float getVolume()
PhysicsCollisionGeometry
getVolume in class PhysicsCollisionGeometrypublic java.lang.Class getClassTag()
getClassTag in interface com.jme.util.export.SavablegetClassTag in class com.jme.scene.Spatial
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||