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 TypeMethodDescriptionfloat
getMass()
Return the mass float value.void
getPosition
(float[] val) Return the position value in the argument float[]float
getSpeed()
Return the speed float value.float
Return the surfaceArea float value.float
Return the variation float value.void
setMass
(float val) Set the mass field.void
setPosition
(float[] val) Set the position field.void
setSpeed
(float val) Set the speed field.void
setSurfaceArea
(float val) Set the surfaceArea field.void
setVariation
(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, 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
-
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:
getSpeed
in interfaceX3DParticleEmitterNode
- Returns:
- The speed float value.
-
setSpeed
public void setSpeed(float val) Set the speed field.- Specified by:
setSpeed
in interfaceX3DParticleEmitterNode
- Parameters:
val
- The float to set.
-
getMass
public float getMass()Return the mass float value.- Specified by:
getMass
in interfaceX3DParticleEmitterNode
- Returns:
- The mass float value.
-
setMass
public void setMass(float val) Set the mass field.- Specified by:
setMass
in interfaceX3DParticleEmitterNode
- Parameters:
val
- The float to set.
-
getSurfaceArea
public float getSurfaceArea()Return the surfaceArea float value.- Specified by:
getSurfaceArea
in interfaceX3DParticleEmitterNode
- Returns:
- The surfaceArea float value.
-
setSurfaceArea
public void setSurfaceArea(float val) Set the surfaceArea field.- Specified by:
setSurfaceArea
in interfaceX3DParticleEmitterNode
- Parameters:
val
- The float to set.
-
getVariation
public float getVariation()Return the variation float value.- Specified by:
getVariation
in interfaceX3DParticleEmitterNode
- Returns:
- The variation float value.
-
setVariation
public void setVariation(float val) Set the variation field.- Specified by:
setVariation
in interfaceX3DParticleEmitterNode
- Parameters:
val
- The float to set.
-
getPosition
public void getPosition(float[] val) Return the position value in the argument float[]- Specified by:
getPosition
in interfaceExplosionEmitter
- Parameters:
val
- The float[] to initialize.
-
setPosition
public void setPosition(float[] val) Set the position field.- Specified by:
setPosition
in interfaceExplosionEmitter
- Parameters:
val
- The float[] to set.
-