public interface ParticleSystem extends X3DShapeNode
| Modifier and Type | Method and Description |
|---|---|
void |
addPhysics(X3DNode[] newValue)
Add array of child physics nodes to array of existing nodes (if any).
|
X3DAppearanceNode |
getAppearance()
Provide X3DAppearanceNode instance (using a properly typed node) from inputOutput SFNode field appearance.
|
float[] |
getBboxCenter()
Provide array of 3-tuple float results from initializeOnly SFVec3f field named bboxCenter.
|
float[] |
getBboxSize()
Provide array of 3-tuple float results within allowed range of [0,infinity), or default value [-1 -1 -1], from initializeOnly SFVec3f field named bboxSize.
|
float[] |
getColorKey()
Provide array of float results using RGB values [0..1] from initializeOnly MFFloat field named colorKey.
|
X3DColorNode |
getColorRamp()
Provide X3DColorNode instance (using a properly typed node) using RGB values [0..1] from initializeOnly SFNode field colorRamp.
|
boolean |
getCreateParticles()
Provide boolean value from inputOutput SFBool field named createParticles.
|
X3DParticleEmitterNode |
getEmitter()
Provide X3DParticleEmitterNode instance (using a properly typed node) from initializeOnly SFNode field emitter.
|
boolean |
getEnabled()
Provide boolean value from inputOutput SFBool field named enabled.
|
X3DGeometryNode |
getGeometry()
Provide X3DGeometryNode instance (using a properly typed node) from inputOutput SFNode field geometry.
|
java.lang.String |
getGeometryType()
Provide String enumeration value ['LINE'|'POINT'|'QUAD'|'SPRITE'|'TRIANGLE'|'GEOMETRY'] from initializeOnly SFString field named geometryType.
|
boolean |
getIsActive()
Provide boolean value from outputOnly SFBool field named isActive.
|
float |
getLifetimeVariation()
Provide float value within allowed range of [0,1] from inputOutput SFFloat field named lifetimeVariation.
|
int |
getMaxParticles()
Provide int value within allowed range of [0,infinity) from inputOutput SFInt32 field named maxParticles.
|
X3DMetadataObject |
getMetadata()
Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
|
float |
getParticleLifetime()
Provide float value within allowed range of [0,infinity) from inputOutput SFFloat field named particleLifetime.
|
float[] |
getParticleSize()
Provide array of 2-tuple float results within allowed range of [0,infinity) from inputOutput SFVec2f field named particleSize.
|
X3DNode[] |
getPhysics()
Provide array of X3DNode results (using an array consisting of properly typed nodes or ProtoInstanceObjects) from initializeOnly MFNode field physics.
|
float[] |
getTexCoordKey()
Provide array of float results within allowed range of [0,infinity) from initializeOnly MFFloat field named texCoordKey.
|
TextureCoordinate |
getTexCoordRamp()
Provide TextureCoordinate instance (using a properly typed node) from initializeOnly SFNode field texCoordRamp.
|
ParticleSystem |
setAppearance(X3DAppearanceNode newValue)
Assign X3DAppearanceNode instance (using a properly typed node) to inputOutput SFNode field appearance.
|
ParticleSystem |
setBboxCenter(float[] newValue)
Assign 3-tuple float array to initializeOnly SFVec3f field named bboxCenter.
|
ParticleSystem |
setBboxSize(float[] newValue)
Assign 3-tuple float array within allowed range of [0,infinity), or default value [-1 -1 -1], to initializeOnly SFVec3f field named bboxSize.
|
ParticleSystem |
setColorKey(float[] newValue)
Assign float array using RGB values [0..1] to initializeOnly MFFloat field named colorKey.
|
ParticleSystem |
setColorRamp(X3DColorNode newValue)
Assign X3DColorNode instance (using a properly typed node) using RGB values [0..1] to initializeOnly SFNode field colorRamp.
|
ParticleSystem |
setCreateParticles(boolean newValue)
Assign boolean value to inputOutput SFBool field named createParticles.
|
ParticleSystem |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
ParticleSystem |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
ParticleSystem |
setEmitter(X3DParticleEmitterNode newValue)
Assign X3DParticleEmitterNode instance (using a properly typed node) to initializeOnly SFNode field emitter.
|
ParticleSystem |
setEnabled(boolean newValue)
Assign boolean value to inputOutput SFBool field named enabled.
|
ParticleSystem |
setGeometry(X3DGeometryNode newValue)
Assign X3DGeometryNode instance (using a properly typed node) to inputOutput SFNode field geometry.
|
ParticleSystem |
setGeometryType(java.lang.String newValue)
Assign String enumeration value ("LINE"|"POINT"|"QUAD"|"SPRITE"|"TRIANGLE"|"GEOMETRY") ['LINE'|'POINT'|'QUAD'|'SPRITE'|'TRIANGLE'|'GEOMETRY'] to initializeOnly SFString field named geometryType.
|
ParticleSystem |
setLifetimeVariation(float newValue)
Assign float value within allowed range of [0,1] to inputOutput SFFloat field named lifetimeVariation.
|
ParticleSystem |
setMaxParticles(int newValue)
Assign int value within allowed range of [0,infinity) to inputOutput SFInt32 field named maxParticles.
|
ParticleSystem |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
ParticleSystem |
setParticleLifetime(float newValue)
Assign float value within allowed range of [0,infinity) to inputOutput SFFloat field named particleLifetime.
|
ParticleSystem |
setParticleSize(float[] newValue)
Assign 2-tuple float array within allowed range of [0,infinity) to inputOutput SFVec2f field named particleSize.
|
void |
setPhysics(X3DNode newValue)
Set single child physics node, replacing prior array of existing nodes (if any).
|
ParticleSystem |
setPhysics(X3DNode[] newValue)
Assign X3DNode array (using an array consisting of properly typed nodes or ProtoInstanceObjects) to initializeOnly MFNode field physics.
|
ParticleSystem |
setTexCoordKey(float[] newValue)
Assign float array within allowed range of [0,infinity) to initializeOnly MFFloat field named texCoordKey.
|
ParticleSystem |
setTexCoordRamp(TextureCoordinate newValue)
Assign TextureCoordinate instance (using a properly typed node) to initializeOnly SFNode field texCoordRamp.
|
ParticleSystem |
setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
X3DAppearanceNode getAppearance()
getAppearance in interface X3DShapeNodeParticleSystem setAppearance(X3DAppearanceNode newValue)
setAppearance in interface X3DShapeNodenewValue - is new value for the appearance field.ParticleSystem - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float[] getBboxCenter()
getBboxCenter in interface X3DBoundedObjectgetBboxCenter in interface X3DShapeNodeParticleSystem setBboxCenter(float[] newValue)
setBboxCenter in interface X3DBoundedObjectsetBboxCenter in interface X3DShapeNodenewValue - is new value for the bboxCenter field.ParticleSystem - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float[] getBboxSize()
getBboxSize in interface X3DBoundedObjectgetBboxSize in interface X3DShapeNodeParticleSystem setBboxSize(float[] newValue)
setBboxSize in interface X3DBoundedObjectsetBboxSize in interface X3DShapeNodenewValue - is new value for the bboxSize field.ParticleSystem - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float[] getColorKey()
ParticleSystem setColorKey(float[] newValue)
newValue - is new value for the colorKey field.ParticleSystem - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).X3DColorNode getColorRamp()
ParticleSystem setColorRamp(X3DColorNode newValue)
newValue - is new value for the colorRamp field.ParticleSystem - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).boolean getCreateParticles()
ParticleSystem setCreateParticles(boolean newValue)
newValue - is new value for the createParticles field.ParticleSystem - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).X3DParticleEmitterNode getEmitter()
ParticleSystem setEmitter(X3DParticleEmitterNode newValue)
newValue - is new value for the emitter field.ParticleSystem - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).boolean getEnabled()
ParticleSystem setEnabled(boolean newValue)
newValue - is new value for the enabled field.ParticleSystem - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).X3DGeometryNode getGeometry()
getGeometry in interface X3DShapeNodeParticleSystem setGeometry(X3DGeometryNode newValue)
setGeometry in interface X3DShapeNodenewValue - is new value for the geometry field.ParticleSystem - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).java.lang.String getGeometryType()
ParticleSystem setGeometryType(java.lang.String newValue)
newValue - is new value for the geometryType field.ParticleSystem - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).boolean getIsActive()
float getLifetimeVariation()
ParticleSystem setLifetimeVariation(float newValue)
newValue - is new value for the lifetimeVariation field.ParticleSystem - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).int getMaxParticles()
ParticleSystem setMaxParticles(int newValue)
newValue - is new value for the maxParticles field.ParticleSystem - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).X3DMetadataObject getMetadata()
getMetadata in interface X3DChildNodegetMetadata in interface X3DNodegetMetadata in interface X3DShapeNodeParticleSystem setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DChildNodesetMetadata in interface X3DNodesetMetadata in interface X3DShapeNodenewValue - is new value for the metadata field.ParticleSystem - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getParticleLifetime()
ParticleSystem setParticleLifetime(float newValue)
newValue - is new value for the particleLifetime field.ParticleSystem - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float[] getParticleSize()
ParticleSystem setParticleSize(float[] newValue)
newValue - is new value for the particleSize field.ParticleSystem - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).X3DNode[] getPhysics()
X3DParticlePhysicsModelNodeParticleSystem setPhysics(X3DNode[] newValue)
newValue - is new value for the physics field.ParticleSystem - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).void addPhysics(X3DNode[] newValue)
newValue - is new value array to be appended the physics field.void setPhysics(X3DNode newValue)
newValue - is new node for the physics fieldfloat[] getTexCoordKey()
ParticleSystem setTexCoordKey(float[] newValue)
newValue - is new value for the texCoordKey field.ParticleSystem - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).TextureCoordinate getTexCoordRamp()
ParticleSystem setTexCoordRamp(TextureCoordinate newValue)
newValue - is new value for the texCoordRamp field.ParticleSystem - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).ParticleSystem setDEF(java.lang.String newValue)
setDEF in interface X3DChildNodesetDEF in interface X3DNodesetDEF in interface X3DShapeNodenewValue - is new value for the DEF field.ParticleSystem - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).ParticleSystem setUSE(java.lang.String newValue)
USE node is still an independent object, with the USE value matching the DEF value in the preceding object.
setUSE() method on this node resets all other fields to their default values (except for containerField) and also releases all child nodes.setUSE in interface X3DChildNodesetUSE in interface X3DNodesetUSE in interface X3DShapeNodenewValue - is new value for the USE field.ParticleSystem - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).ParticleSystem setCssClass(java.lang.String newValue)
setCssClass in interface X3DChildNodesetCssClass in interface X3DNodesetCssClass in interface X3DShapeNodenewValue - is new value for the class field.ParticleSystem - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).Copyright ©2005-2017 Web3D Consortium under an open-source license, free for any use. Feedback is welcome.