Interface X3DParticleEmitterNode
- All Superinterfaces:
X3DNode
- All Known Subinterfaces:
ConeEmitter
,ExplosionEmitter
,PointEmitter
,PolylineEmitter
,SurfaceEmitter
,VolumeEmitter
- All Known Implementing Classes:
ConeEmitter
,ExplosionEmitter
,PointEmitter
,PolylineEmitter
,SurfaceEmitter
,VolumeEmitter
The X3DParticleEmitterNode abstract type represents any node that is an emitter of particles.
Warning: this is an abstract interface that cannot be instantiated as a concrete object. Java programmers typically only need to use concrete objects provided by the
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
Warning: this is an abstract interface that cannot be instantiated as a concrete object. Java programmers typically only need to use concrete objects provided by the
org.web3d.x3d.jsail
classes.
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionfloat
getMass()
Provide float value within allowed range of [0,infinity) from inputOutput SFFloat field named mass.Provide org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.boolean
getOn()
Provide boolean value from inputOutput SFBool field named on.float
getSpeed()
Provide float value within allowed range of [0,infinity) from inputOutput SFFloat field named speed.float
Provide float value within allowed range of [0,infinity) from inputOutput SFFloat field named surfaceArea.float
Provide float value within allowed range of [0,infinity) from inputOutput SFFloat field named variation.setMass
(float newValue) Accessor method to assign float value to inputOutput SFFloat field named mass.setMetadata
(X3DMetadataObject newValue) Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.setOn
(boolean newValue) Accessor method to assign boolean value to inputOutput SFBool field named on.setSpeed
(float newValue) Accessor method to assign float value to inputOutput SFFloat field named speed.setSurfaceArea
(float newValue) Accessor method to assign float value to inputOutput SFFloat field named surfaceArea.setVariation
(float newValue) Accessor method to assign float value to inputOutput SFFloat field named variation.
-
Method Details
-
getMass
float getMass()Provide float value within allowed range of [0,infinity) from inputOutput SFFloat field named mass.- Returns:
- value of mass field
-
setMass
Accessor method to assign float value to inputOutput SFFloat field named mass.- Parameters:
newValue
- is new value for the mass field.- Returns:
X3DParticleEmitterNode
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getMetadata
X3DMetadataObject getMetadata()Provide org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.- Specified by:
getMetadata
in interfaceX3DNode
- Returns:
- value of metadata field
- See Also:
-
setMetadata
Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.- Specified by:
setMetadata
in interfaceX3DNode
- Parameters:
newValue
- is new value for the metadata field.- Returns:
X3DParticleEmitterNode
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
-
getOn
boolean getOn()Provide boolean value from inputOutput SFBool field named on.- Returns:
- value of on field
-
setOn
Accessor method to assign boolean value to inputOutput SFBool field named on.- Parameters:
newValue
- is new value for the on field.- Returns:
X3DParticleEmitterNode
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getSpeed
float getSpeed()Provide float value within allowed range of [0,infinity) from inputOutput SFFloat field named speed.- Returns:
- value of speed field
-
setSpeed
Accessor method to assign float value to inputOutput SFFloat field named speed.- Parameters:
newValue
- is new value for the speed field.- Returns:
X3DParticleEmitterNode
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getSurfaceArea
float getSurfaceArea()Provide float value within allowed range of [0,infinity) from inputOutput SFFloat field named surfaceArea.- Returns:
- value of surfaceArea field
-
setSurfaceArea
Accessor method to assign float value to inputOutput SFFloat field named surfaceArea.- Parameters:
newValue
- is new value for the surfaceArea field.- Returns:
X3DParticleEmitterNode
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getVariation
float getVariation()Provide float value within allowed range of [0,infinity) from inputOutput SFFloat field named variation.- Returns:
- value of variation field
-
setVariation
Accessor method to assign float value to inputOutput SFFloat field named variation.- Parameters:
newValue
- is new value for the variation field.- Returns:
X3DParticleEmitterNode
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-