Class SAIPointEmitter
java.lang.Object
org.web3d.vrml.scripting.external.sai.SAINode
org.xj3d.sai.external.node.particlesystems.SAIPointEmitter
- All Implemented Interfaces:
PointEmitter,X3DNode,X3DParticleEmitterNode
A concrete implementation of the PointEmitter node interface
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Constructor Summary
ConstructorsConstructorDescriptionSAIPointEmitter(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidgetDirection(float[] val) Return the direction value in the argument float[]floatgetMass()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.voidsetDirection(float[] val) Set the direction field.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.external.sai.SAINode
dispose, equals, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, hashCode, isRealized, realize, setMetadataMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Constructor Details
-
SAIPointEmitter
public SAIPointEmitter(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor- Parameters:
queue-
-
-
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.
-
getDirection
public void getDirection(float[] val) Return the direction value in the argument float[]- Specified by:
getDirectionin interfacePointEmitter- Parameters:
val- The float[] to initialize.
-
setDirection
public void setDirection(float[] val) Set the direction field.- Specified by:
setDirectionin interfacePointEmitter- Parameters:
val- The float[] to set.
-
getPosition
public void getPosition(float[] val) Return the position value in the argument float[]- Specified by:
getPositionin interfacePointEmitter- Parameters:
val- The float[] to initialize.
-
setPosition
public void setPosition(float[] val) Set the position field.- Specified by:
setPositionin interfacePointEmitter- Parameters:
val- The float[] to set.
-