Interface CollisionSpace
- All Superinterfaces:
X3DBoundedObject
,X3DNBodyCollisionSpaceNode
,X3DNode
- All Known Implementing Classes:
SAICollisionSpace
,SAICollisionSpace
Defines the requirements of an X3D CollisionSpace node
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getCollidables
(X3DNode[] val) Return the collidables value in the argument X3DNode[]int
Return the number of MFNode items in the collidables field.boolean
Return the useGeometry boolean value.void
setCollidables
(X3DNode[] val) Set the collidables field.void
setUseGeometry
(boolean val) Set the useGeometry field.Methods inherited from interface org.web3d.x3d.sai.X3DBoundedObject
getBboxCenter, getBboxSize, setBboxCenter, setBboxSize
Methods inherited from interface org.web3d.x3d.sai.X3DNBodyCollisionSpaceNode
getEnabled, setEnabled
Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Method Details
-
getNumCollidables
int getNumCollidables()Return the number of MFNode items in the collidables field.- Returns:
- the number of MFNode items in the collidables field.
-
getCollidables
Return the collidables value in the argument X3DNode[]- Parameters:
val
- The X3DNode[] to initialize.
-
setCollidables
Set the collidables field.- Parameters:
val
- The X3DNode[] to set.
-
getUseGeometry
boolean getUseGeometry()Return the useGeometry boolean value.- Returns:
- The useGeometry boolean value.
-
setUseGeometry
void setUseGeometry(boolean val) Set the useGeometry field.- Parameters:
val
- The boolean to set.
-