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.void
getContacts
(X3DNode[] val) Return the contacts value in the argument X3DNode[]void
getIntersections
(X3DNode[] val) Return the intersections value in the argument X3DNode[]int
Return the number of MFNode items in the contacts field.int
Return the number of MFNode items in the intersections field.void
setCollidables
(X3DNode val) Set the collidables field.Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
Methods 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.
-