Interface CollisionSensor
- All Superinterfaces:
X3DChildNode,X3DNode,X3DSensorNode
- All Known Implementing Classes:
SAICollisionSensor,SAICollisionSensor
Defines the requirements of an X3D CollisionSensor node
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Method Summary
Modifier and TypeMethodDescriptionReturn the collidables X3DNode value.voidgetContacts(X3DNode[] val) Return the contacts value in the argument X3DNode[]voidgetIntersections(X3DNode[] val) Return the intersections value in the argument X3DNode[]intReturn the number of MFNode items in the contacts field.intReturn the number of MFNode items in the intersections field.voidsetCollidables(X3DNode val) Set the collidables field.Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadataMethods inherited from interface org.web3d.x3d.sai.X3DSensorNode
getEnabled, getIsActive, setEnabled
-
Method Details
-
getCollidables
X3DNode getCollidables()Return the collidables X3DNode value.- Returns:
- The collidables X3DNode value.
-
setCollidables
-
getNumContacts
int getNumContacts()Return the number of MFNode items in the contacts field.- Returns:
- the number of MFNode items in the contacts field.
-
getContacts
Return the contacts value in the argument X3DNode[]- Parameters:
val- The X3DNode[] to initialize.
-
getNumIntersections
int getNumIntersections()Return the number of MFNode items in the intersections field.- Returns:
- the number of MFNode items in the intersections field.
-
getIntersections
Return the intersections value in the argument X3DNode[]- Parameters:
val- The X3DNode[] to initialize.
-