Interface CollisionCollection
- All Superinterfaces:
X3DChildNode,X3DNode
- All Known Implementing Classes:
SAICollisionCollection,SAICollisionCollection
Defines the requirements of an X3D CollisionCollection node
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Method Summary
Modifier and TypeMethodDescriptionvoidgetAppliedParameters(String[] val) Return the appliedParameters value in the argument String[]floatReturn the bounce float value.voidgetCollidables(X3DNode[] val) Return the collidables value in the argument X3DNode[]booleanReturn the enabled boolean value.voidgetFrictionCoefficients(float[] val) Return the frictionCoefficients value in the argument float[]floatReturn the minBounceSpeed float value.intReturn the number of MFString items in the appliedParameters field.intReturn the number of MFNode items in the collidables field.voidgetSlipCoefficients(float[] val) Return the slipCoefficients value in the argument float[]floatReturn the softnessConstantForceMix float value.floatReturn the softnessErrorCorrection float value.voidgetSurfaceSpeed(float[] val) Return the surfaceSpeed value in the argument float[]voidsetAppliedParameters(String[] val) Set the appliedParameters field.voidsetBounce(float val) Set the bounce field.voidsetCollidables(X3DNode[] val) Set the collidables field.voidsetEnabled(boolean val) Set the enabled field.voidsetFrictionCoefficients(float[] val) Set the frictionCoefficients field.voidsetMinBounceSpeed(float val) Set the minBounceSpeed field.voidsetSlipCoefficients(float[] val) Set the slipCoefficients field.voidsetSoftnessConstantForceMix(float val) Set the softnessConstantForceMix field.voidsetSoftnessErrorCorrection(float val) Set the softnessErrorCorrection field.voidsetSurfaceSpeed(float[] val) Set the surfaceSpeed field.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.
-
getEnabled
boolean getEnabled()Return the enabled boolean value.- Returns:
- The enabled boolean value.
-
setEnabled
void setEnabled(boolean val) Set the enabled field.- Parameters:
val- The boolean to set.
-
getBounce
float getBounce()Return the bounce float value.- Returns:
- The bounce float value.
-
setBounce
void setBounce(float val) Set the bounce field.- Parameters:
val- The float to set.
-
getMinBounceSpeed
float getMinBounceSpeed()Return the minBounceSpeed float value.- Returns:
- The minBounceSpeed float value.
-
setMinBounceSpeed
void setMinBounceSpeed(float val) Set the minBounceSpeed field.- Parameters:
val- The float to set.
-
getFrictionCoefficients
void getFrictionCoefficients(float[] val) Return the frictionCoefficients value in the argument float[]- Parameters:
val- The float[] to initialize.
-
setFrictionCoefficients
void setFrictionCoefficients(float[] val) Set the frictionCoefficients field.- Parameters:
val- The float[] to set.
-
getSlipCoefficients
void getSlipCoefficients(float[] val) Return the slipCoefficients value in the argument float[]- Parameters:
val- The float[] to initialize.
-
setSlipCoefficients
void setSlipCoefficients(float[] val) Set the slipCoefficients field.- Parameters:
val- The float[] to set.
-
getSurfaceSpeed
void getSurfaceSpeed(float[] val) Return the surfaceSpeed value in the argument float[]- Parameters:
val- The float[] to initialize.
-
setSurfaceSpeed
void setSurfaceSpeed(float[] val) Set the surfaceSpeed field.- Parameters:
val- The float[] to set.
-
getNumAppliedParameters
int getNumAppliedParameters()Return the number of MFString items in the appliedParameters field.- Returns:
- the number of MFString items in the appliedParameters field.
-
getAppliedParameters
Return the appliedParameters value in the argument String[]- Parameters:
val- The String[] to initialize.
-
setAppliedParameters
Set the appliedParameters field.- Parameters:
val- The String[] to set.
-
getSoftnessConstantForceMix
float getSoftnessConstantForceMix()Return the softnessConstantForceMix float value.- Returns:
- The softnessConstantForceMix float value.
-
setSoftnessConstantForceMix
void setSoftnessConstantForceMix(float val) Set the softnessConstantForceMix field.- Parameters:
val- The float to set.
-
getSoftnessErrorCorrection
float getSoftnessErrorCorrection()Return the softnessErrorCorrection float value.- Returns:
- The softnessErrorCorrection float value.
-
setSoftnessErrorCorrection
void setSoftnessErrorCorrection(float val) Set the softnessErrorCorrection field.- Parameters:
val- The float to set.
-