Class SAIExplosionEmitter
java.lang.Object
org.web3d.vrml.scripting.sai.BaseNode
org.xj3d.sai.internal.node.particlesystems.SAIExplosionEmitter
- All Implemented Interfaces:
ExplosionEmitter,X3DNode,X3DParticleEmitterNode
A concrete implementation of the ExplosionEmitter 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
ConstructorsConstructorDescriptionSAIExplosionEmitter(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor -
Method Summary
Modifier and TypeMethodDescriptionfloatgetMass()Return the mass float value.voidgetPosition(float[] val) Return the position value in the argument float[]floatgetSpeed()Return the speed float value.floatReturn the surfaceArea float value.floatReturn the variation float value.voidsetMass(float val) Set the mass field.voidsetPosition(float[] val) Set the position field.voidsetSpeed(float val) Set the speed field.voidsetSurfaceArea(float val) Set the surfaceArea field.voidsetVariation(float val) Set the variation 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
-
SAIExplosionEmitter
public SAIExplosionEmitter(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor- Parameters:
bnf-
-
-
Method Details
-
getSpeed
public float getSpeed()Return the speed float value.- Specified by:
getSpeedin interfaceX3DParticleEmitterNode- Returns:
- The speed float value.
-
setSpeed
public void setSpeed(float val) Set the speed field.- Specified by:
setSpeedin interfaceX3DParticleEmitterNode- Parameters:
val- The float to set.
-
getMass
public float getMass()Return the mass float value.- Specified by:
getMassin interfaceX3DParticleEmitterNode- Returns:
- The mass float value.
-
setMass
public void setMass(float val) Set the mass field.- Specified by:
setMassin interfaceX3DParticleEmitterNode- Parameters:
val- The float to set.
-
getSurfaceArea
public float getSurfaceArea()Return the surfaceArea float value.- Specified by:
getSurfaceAreain interfaceX3DParticleEmitterNode- Returns:
- The surfaceArea float value.
-
setSurfaceArea
public void setSurfaceArea(float val) Set the surfaceArea field.- Specified by:
setSurfaceAreain interfaceX3DParticleEmitterNode- Parameters:
val- The float to set.
-
getVariation
public float getVariation()Return the variation float value.- Specified by:
getVariationin interfaceX3DParticleEmitterNode- Returns:
- The variation float value.
-
setVariation
public void setVariation(float val) Set the variation field.- Specified by:
setVariationin interfaceX3DParticleEmitterNode- Parameters:
val- The float to set.
-
getPosition
public void getPosition(float[] val) Return the position value in the argument float[]- Specified by:
getPositionin interfaceExplosionEmitter- Parameters:
val- The float[] to initialize.
-
setPosition
public void setPosition(float[] val) Set the position field.- Specified by:
setPositionin interfaceExplosionEmitter- Parameters:
val- The float[] to set.
-