Class SAIWindPhysicsModel
java.lang.Object
org.web3d.vrml.scripting.sai.BaseNode
org.xj3d.sai.internal.node.particlesystems.SAIWindPhysicsModel
- All Implemented Interfaces:
WindPhysicsModel
,X3DNode
,X3DParticlePhysicsModelNode
A concrete implementation of the WindPhysicsModel node interface
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Field Summary
Fields inherited from class org.web3d.vrml.scripting.sai.BaseNode
accessPermitted, fieldQueue, fieldRefMap, realNode
-
Constructor Summary
ConstructorsConstructorDescriptionSAIWindPhysicsModel
(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoid
getDirection
(float[] val) Return the direction value in the argument float[]boolean
Return the enabled boolean value.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
setEnabled
(boolean val) Set the enabled 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 class org.web3d.vrml.scripting.sai.BaseNode
checkAccess, dispose, equals, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, hashCode, isRealized, realize, setMetadata, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Constructor Details
-
SAIWindPhysicsModel
public SAIWindPhysicsModel(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor- Parameters:
bnf
-
-
-
Method Details
-
getEnabled
public boolean getEnabled()Return the enabled boolean value.- Specified by:
getEnabled
in interfaceX3DParticlePhysicsModelNode
- Returns:
- The enabled boolean value.
-
setEnabled
public void setEnabled(boolean val) Set the enabled field.- Specified by:
setEnabled
in interfaceX3DParticlePhysicsModelNode
- Parameters:
val
- The boolean to set.
-
getDirection
public void getDirection(float[] val) Return the direction value in the argument float[]- Specified by:
getDirection
in interfaceWindPhysicsModel
- Parameters:
val
- The float[] to initialize.
-
setDirection
public void setDirection(float[] val) Set the direction field.- Specified by:
setDirection
in interfaceWindPhysicsModel
- Parameters:
val
- The float[] to set.
-
getGustiness
public float getGustiness()Return the gustiness float value.- Specified by:
getGustiness
in interfaceWindPhysicsModel
- Returns:
- The gustiness float value.
-
setGustiness
public void setGustiness(float val) Set the gustiness field.- Specified by:
setGustiness
in interfaceWindPhysicsModel
- Parameters:
val
- The float to set.
-
getTurbulence
public float getTurbulence()Return the turbulence float value.- Specified by:
getTurbulence
in interfaceWindPhysicsModel
- Returns:
- The turbulence float value.
-
setTurbulence
public void setTurbulence(float val) Set the turbulence field.- Specified by:
setTurbulence
in interfaceWindPhysicsModel
- Parameters:
val
- The float to set.
-
getSpeed
public float getSpeed()Return the speed float value.- Specified by:
getSpeed
in interfaceWindPhysicsModel
- Returns:
- The speed float value.
-
setSpeed
public void setSpeed(float val) Set the speed field.- Specified by:
setSpeed
in interfaceWindPhysicsModel
- Parameters:
val
- The float to set.
-