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 TypeMethodDescriptionvoidgetDirection(float[] val) Return the direction value in the argument float[]booleanReturn the enabled boolean value.floatReturn the gustiness float value.floatgetSpeed()Return the speed float value.floatReturn the turbulence float value.voidsetDirection(float[] val) Set the direction field.voidsetEnabled(boolean val) Set the enabled field.voidsetGustiness(float val) Set the gustiness field.voidsetSpeed(float val) Set the speed field.voidsetTurbulence(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, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
getEnabledin interfaceX3DParticlePhysicsModelNode- Returns:
- The enabled boolean value.
-
setEnabled
public void setEnabled(boolean val) Set the enabled field.- Specified by:
setEnabledin interfaceX3DParticlePhysicsModelNode- Parameters:
val- The boolean to set.
-
getDirection
public void getDirection(float[] val) Return the direction value in the argument float[]- Specified by:
getDirectionin interfaceWindPhysicsModel- Parameters:
val- The float[] to initialize.
-
setDirection
public void setDirection(float[] val) Set the direction field.- Specified by:
setDirectionin interfaceWindPhysicsModel- Parameters:
val- The float[] to set.
-
getGustiness
public float getGustiness()Return the gustiness float value.- Specified by:
getGustinessin interfaceWindPhysicsModel- Returns:
- The gustiness float value.
-
setGustiness
public void setGustiness(float val) Set the gustiness field.- Specified by:
setGustinessin interfaceWindPhysicsModel- Parameters:
val- The float to set.
-
getTurbulence
public float getTurbulence()Return the turbulence float value.- Specified by:
getTurbulencein interfaceWindPhysicsModel- Returns:
- The turbulence float value.
-
setTurbulence
public void setTurbulence(float val) Set the turbulence field.- Specified by:
setTurbulencein interfaceWindPhysicsModel- Parameters:
val- The float to set.
-
getSpeed
public float getSpeed()Return the speed float value.- Specified by:
getSpeedin interfaceWindPhysicsModel- Returns:
- The speed float value.
-
setSpeed
public void setSpeed(float val) Set the speed field.- Specified by:
setSpeedin interfaceWindPhysicsModel- Parameters:
val- The float to set.
-