Interface WindPhysicsModel
- All Superinterfaces:
X3DNode
,X3DParticlePhysicsModelNode
- All Known Implementing Classes:
SAIWindPhysicsModel
,SAIWindPhysicsModel
Defines the requirements of an X3D WindPhysicsModel node
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getDirection
(float[] val) Return the direction value in the argument float[]float
Return the gustiness float value.float
getSpeed()
Return the speed float value.float
Return the turbulence float value.void
setDirection
(float[] val) Set the direction field.void
setGustiness
(float val) Set the gustiness field.void
setSpeed
(float val) Set the speed field.void
setTurbulence
(float val) Set the turbulence 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.X3DParticlePhysicsModelNode
getEnabled, setEnabled
-
Method Details
-
getDirection
void getDirection(float[] val) Return the direction value in the argument float[]- Parameters:
val
- The float[] to initialize.
-
setDirection
void setDirection(float[] val) Set the direction field.- Parameters:
val
- The float[] to set.
-
getGustiness
float getGustiness()Return the gustiness float value.- Returns:
- The gustiness float value.
-
setGustiness
void setGustiness(float val) Set the gustiness field.- Parameters:
val
- The float to set.
-
getTurbulence
float getTurbulence()Return the turbulence float value.- Returns:
- The turbulence float value.
-
setTurbulence
void setTurbulence(float val) Set the turbulence field.- Parameters:
val
- The float to set.
-
getSpeed
float getSpeed()Return the speed float value.- Returns:
- The speed float value.
-
setSpeed
void setSpeed(float val) Set the speed field.- Parameters:
val
- The float to set.
-