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 TypeMethodDescriptionvoidgetCollidables(X3DNode[] val) Return the collidables value in the argument X3DNode[]intReturn the number of MFNode items in the collidables field.booleanReturn the useGeometry boolean value.voidsetCollidables(X3DNode[] val) Set the collidables field.voidsetUseGeometry(boolean val) Set the useGeometry field.Methods inherited from interface org.web3d.x3d.sai.X3DBoundedObject
getBboxCenter, getBboxSize, setBboxCenter, setBboxSizeMethods inherited from interface org.web3d.x3d.sai.X3DNBodyCollisionSpaceNode
getEnabled, setEnabledMethods 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.
-