org.web3d.vrml.nodes
Interface VRMLCollidableNodeType
- All Superinterfaces:
- FrameStateListener, VRMLNode, VRMLNodeType
public interface VRMLCollidableNodeType
- extends VRMLNodeType
A marker interface for describing a node that can handle collision
control and events.
The purpose of this interface is to act as a common gateway between the
low-level detection routines and the VRML geometry. The methods here are to
be used for that purpose, not for external authoring APIs and scripting to
make state changes.
At this stage the API is quite simple. However, for CollidableGeometry,
there will need to be a lot more low-level information provided. An example
of this is the precise coordinates of the intersection point.
- Version:
- $Revision: 1.1 $
- Author:
- Justin Couch
|
Method Summary |
void |
collisionDetected()
Notification that a collision has just taken place. |
| Methods inherited from interface org.web3d.vrml.nodes.VRMLNodeType |
addNodeListener, clearRemovedLayerIds, getFieldValue, getLayerIds, getMetadataObject, getRefCount, getRemovedLayerIds, hasFieldChanged, isSetupFinished, notifyExternProtoLoaded, removeNodeListener, sendRoute, setDEF, setFrameStateManager, setMetadataObject, setupFinished, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, updateRefCount |
| Methods inherited from interface org.web3d.vrml.lang.VRMLNode |
getFieldDeclaration, getFieldIndex, getNodeFieldIndices, getNumFields, getPrimaryType, getSecondaryType, getUserData, getVRMLNodeName, isDEF, setErrorReporter, setUserData, setVersion |
collisionDetected
void collisionDetected()
- Notification that a collision has just taken place. This
collision should result in the appropriate event outs being
generated.
Copyright © 2001 - 2006 Web3D Consortium