public class ParticleSystemObject extends X3DConcreteNode implements ParticleSystem
| Modifier and Type | Field and Description |
|---|---|
static float[] |
BBOXCENTER_DEFAULT_VALUE
SFVec3f field named bboxCenter has default value {0f,0f,0f} (Java syntax) or 0 0 0 (XML syntax).
|
static float[] |
BBOXSIZE_DEFAULT_VALUE
SFVec3f field named bboxSize has default value {-1f,-1f,-1f} (Java syntax) or -1 -1 -1 (XML syntax).
|
static java.lang.String |
COMPONENT
String constant COMPONENT provides X3D component for this element: ParticleSystems.
|
static boolean |
CREATEPARTICLES_DEFAULT_VALUE
SFBool field named createParticles has default value true (Java syntax) or true (XML syntax).
|
static boolean |
ENABLED_DEFAULT_VALUE
SFBool field named enabled has default value true (Java syntax) or true (XML syntax).
|
static java.lang.String |
fromField_APPEARANCE
fromField ROUTE name for SFNode field named appearance.
|
static java.lang.String |
fromField_CREATEPARTICLES
fromField ROUTE name for SFBool field named createParticles.
|
static java.lang.String |
fromField_ENABLED
fromField ROUTE name for SFBool field named enabled.
|
static java.lang.String |
fromField_GEOMETRY
fromField ROUTE name for SFNode field named geometry.
|
static java.lang.String |
fromField_ISACTIVE
fromField ROUTE name for SFBool field named isActive.
|
static java.lang.String |
fromField_LIFETIMEVARIATION
fromField ROUTE name for SFFloat field named lifetimeVariation.
|
static java.lang.String |
fromField_MAXPARTICLES
fromField ROUTE name for SFInt32 field named maxParticles.
|
static java.lang.String |
fromField_METADATA
fromField ROUTE name for SFNode field named metadata.
|
static java.lang.String |
fromField_PARTICLELIFETIME
fromField ROUTE name for SFFloat field named particleLifetime.
|
static java.lang.String |
fromField_PARTICLESIZE
fromField ROUTE name for SFVec2f field named particleSize.
|
static java.lang.String |
GEOMETRYTYPE_DEFAULT_VALUE
SFString field named geometryType has default value "QUAD" (Java syntax) or QUAD (XML syntax).
|
static java.lang.String |
GEOMETRYTYPE_GEOMETRY
SFString field named geometryType can equal this enumeration value "GEOMETRY" (Java syntax) or GEOMETRY (XML syntax).
|
static java.lang.String |
GEOMETRYTYPE_LINE
SFString field named geometryType can equal this enumeration value "LINE" (Java syntax) or LINE (XML syntax).
|
static java.lang.String |
GEOMETRYTYPE_POINT
SFString field named geometryType can equal this enumeration value "POINT" (Java syntax) or POINT (XML syntax).
|
static java.lang.String |
GEOMETRYTYPE_QUAD
SFString field named geometryType can equal this enumeration value "QUAD" (Java syntax) or QUAD (XML syntax).
|
static java.lang.String |
GEOMETRYTYPE_SPRITE
SFString field named geometryType can equal this enumeration value "SPRITE" (Java syntax) or SPRITE (XML syntax).
|
static java.lang.String |
GEOMETRYTYPE_TRIANGLE
SFString field named geometryType can equal this enumeration value "TRIANGLE" (Java syntax) or TRIANGLE (XML syntax).
|
static int |
LEVEL
Integer constant LEVEL provides default X3D component level for this element: 2.
|
static float |
LIFETIMEVARIATION_DEFAULT_VALUE
SFFloat field named lifetimeVariation has default value 0.25f (Java syntax) or 0.25 (XML syntax).
|
static int |
MAXPARTICLES_DEFAULT_VALUE
SFInt32 field named maxParticles has default value 200 (Java syntax) or 200 (XML syntax).
|
static java.lang.String |
NAME
String constant NAME provides name of this element: ParticleSystem.
|
static float |
PARTICLELIFETIME_DEFAULT_VALUE
SFFloat field named particleLifetime has default value 5f (Java syntax) or 5 (XML syntax).
|
static float[] |
PARTICLESIZE_DEFAULT_VALUE
SFVec2f field named particleSize has default value {0.02f,0.02f} (Java syntax) or 0.02 0.02 (XML syntax).
|
static java.lang.String |
toField_APPEARANCE
toField ROUTE name for SFNode field named appearance.
|
static java.lang.String |
toField_CREATEPARTICLES
toField ROUTE name for SFBool field named createParticles.
|
static java.lang.String |
toField_ENABLED
toField ROUTE name for SFBool field named enabled.
|
static java.lang.String |
toField_GEOMETRY
toField ROUTE name for SFNode field named geometry.
|
static java.lang.String |
toField_LIFETIMEVARIATION
toField ROUTE name for SFFloat field named lifetimeVariation.
|
static java.lang.String |
toField_MAXPARTICLES
toField ROUTE name for SFInt32 field named maxParticles.
|
static java.lang.String |
toField_METADATA
toField ROUTE name for SFNode field named metadata.
|
static java.lang.String |
toField_PARTICLELIFETIME
toField ROUTE name for SFFloat field named particleLifetime.
|
static java.lang.String |
toField_PARTICLESIZE
toField ROUTE name for SFVec2f field named particleSize.
|
CLASS_DEFAULT_VALUE, containerField_ALTERNATE_VALUES, DEF_DEFAULT_VALUE, USE_DEFAULT_VALUEvalidationResult| Constructor and Description |
|---|
ParticleSystemObject()
Constructor for ParticleSystemObject to initialize member variables with default values.
|
ParticleSystemObject(java.lang.String DEFname)
Utility constructor that assigns DEF name after initializing member variables with default values
|
| Modifier and Type | Method and Description |
|---|---|
ParticleSystemObject |
addComments(CommentsBlock newCommentsBlock)
Add CommentsBlock to contained commentsList.
|
ParticleSystemObject |
addComments(java.lang.String newComment)
Add comment as String to contained commentsList.
|
ParticleSystemObject |
addComments(java.lang.String[] newComments)
Add comments as String[] array to contained commentsList.
|
void |
addPhysics(X3DNode[] newValue)
Add array of child physics nodes to array of existing nodes (if any).
|
ParticleSystemObject |
addPhysics(X3DParticlePhysicsModelNode newValue)
Add single child physics node to array of existing nodes (if any).
|
ParticleSystemObject |
clearAppearance()
Utility method to clear SFNode value of appearance field.
|
ParticleSystemObject |
clearColorKey()
Utility method to clear MFFloat value of colorKey field.
|
ParticleSystemObject |
clearColorRamp()
Utility method to clear SFNode value of colorRamp field.
|
ParticleSystemObject |
clearEmitter()
Utility method to clear SFNode value of emitter field.
|
ParticleSystemObject |
clearGeometry()
Utility method to clear SFNode value of geometry field.
|
ParticleSystemObject |
clearMetadata()
Utility method to clear SFNode value of metadata field.
|
ParticleSystemObject |
clearPhysics()
Utility method to clear MFNode value of physics field.
|
ParticleSystemObject |
clearTexCoordKey()
Utility method to clear MFFloat value of texCoordKey field.
|
ParticleSystemObject |
clearTexCoordRamp()
Utility method to clear SFNode value of texCoordRamp field.
|
X3DConcreteElement |
findElementByNameValue(java.lang.String nameValue)
Recursive method to provide object reference to node or statement by name attribute, if found as part of this element or in a contained element.
|
X3DConcreteElement |
findElementByNameValue(java.lang.String nameValue,
java.lang.String elementName)
Recursive method to provide object reference to node or statement by name attribute, if found as part of this element or in a contained element.
|
X3DConcreteNode |
findNodeByDEF(java.lang.String DEFvalue)
Recursive method to provide object reference to node by DEF, if found as this node or in a contained node.
|
java.lang.String |
getAccessType(java.lang.String fieldName)
Indicate accessType corresponding to given fieldName.
|
X3DAppearanceNode |
getAppearance()
Provide X3DAppearanceNode instance (using a properly typed node) from inputOutput SFNode field appearance.
|
ProtoInstanceObject |
getAppearanceProtoInstance()
Provide properly typed ProtoInstance for inputOutput SFNode field appearance, if available.
|
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.
|
java.util.ArrayList<java.lang.Float> |
getColorKeyList()
Utility method to get ArrayList value of MFFloat colorKey field, similar to
getColorKey(). |
X3DColorNode |
getColorRamp()
Provide X3DColorNode instance (using a properly typed node) using RGB values [0..1] from initializeOnly SFNode field colorRamp.
|
ProtoInstanceObject |
getColorRampProtoInstance()
Provide properly typed ProtoInstance for initializeOnly SFNode field colorRamp, if available.
|
java.lang.String |
getComponent()
Provides X3D component for this element: ParticleSystems.
|
int |
getComponentLevel()
Provides default X3D component level for this element: 2.
|
boolean |
getCreateParticles()
Provide boolean value from inputOutput SFBool field named createParticles.
|
java.lang.String |
getElementName()
Provides name of this element: ParticleSystem.
|
X3DParticleEmitterNode |
getEmitter()
Provide X3DParticleEmitterNode instance (using a properly typed node) from initializeOnly SFNode field emitter.
|
ProtoInstanceObject |
getEmitterProtoInstance()
Provide properly typed ProtoInstance for initializeOnly SFNode field emitter, if available.
|
boolean |
getEnabled()
Provide boolean value from inputOutput SFBool field named enabled.
|
java.lang.String |
getFieldType(java.lang.String fieldName)
Indicate type corresponding to given fieldName.
|
X3DGeometryNode |
getGeometry()
Provide X3DGeometryNode instance (using a properly typed node) from inputOutput SFNode field geometry.
|
ProtoInstanceObject |
getGeometryProtoInstance()
Provide properly typed ProtoInstance for inputOutput SFNode field geometry, if available.
|
java.lang.String |
getGeometryType()
Provide String enumeration value ['LINE'|'POINT'|'QUAD'|'SPRITE'|'TRIANGLE'|'GEOMETRY'] from initializeOnly SFString field named geometryType.
|
ISObject |
getIS()
Provide field named IS for establishing IS/connect field connections between ProtoInterface fields and internal ProtoBody nodes.
|
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.
|
ProtoInstanceObject |
getMetadataProtoInstance()
Provide properly typed ProtoInstance for inputOutput SFNode field metadata, if available.
|
X3DConcreteNode |
getNodeByDEF(java.lang.String DEFname)
Recursive method to provide object reference to node by DEF name, if found as this node or in a contained node.
|
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 X3DParticlePhysicsModelNode results (using an array consisting of properly typed nodes or X3DPrototypeInstance objects) from initializeOnly MFNode field physics.
|
java.util.ArrayList<X3DParticlePhysicsModelNode> |
getPhysicsList()
Utility method to get ArrayList value of MFNode physics field, similar to
getPhysics(). |
float[] |
getTexCoordKey()
Provide array of Float results within allowed range of [0,infinity) from initializeOnly MFFloat field named texCoordKey.
|
java.util.ArrayList<java.lang.Float> |
getTexCoordKeyList()
Utility method to get ArrayList value of MFFloat texCoordKey field, similar to
getTexCoordKey(). |
TextureCoordinate |
getTexCoordRamp()
Provide TextureCoordinate instance (using a properly typed node) from initializeOnly SFNode field texCoordRamp.
|
ProtoInstanceObject |
getTexCoordRampProtoInstance()
Provide properly typed ProtoInstance for initializeOnly SFNode field texCoordRamp, if available.
|
boolean |
hasAppearance()
Indicate whether an object is available for inputOutput SFNode field appearance.
|
boolean |
hasColorRamp()
Indicate whether an object is available for initializeOnly SFNode field colorRamp.
|
boolean |
hasElementByNameValue(java.lang.String nameValue,
java.lang.String elementName)
Recursive method to determine whether node or statement with given name attribute is found, meaning both objects are attached to same scene graph.
|
boolean |
hasEmitter()
Indicate whether an object is available for initializeOnly SFNode field emitter.
|
boolean |
hasGeometry()
Indicate whether an object is available for inputOutput SFNode field geometry.
|
boolean |
hasMetadata()
Indicate whether an object is available for inputOutput SFNode field metadata.
|
boolean |
hasNodeByDEF(java.lang.String DEFvalue)
Recursive method to determine whether node with DEFvalue is found, meaning both objects are attached to same scene graph.
|
boolean |
hasPhysics()
Indicate whether an object is available for initializeOnly MFNode field physics.
|
boolean |
hasTexCoordRamp()
Indicate whether an object is available for initializeOnly SFNode field texCoordRamp.
|
void |
initialize()
Initialize all member variables to default values.
|
ParticleSystemObject |
setAppearance(ProtoInstanceObject newProtoInstanceNode)
Assign ProtoInstance to appearance field;
WARNING: ProtoInstance must match acceptable node type X3DAppearanceNode.
|
ParticleSystemObject |
setAppearance(X3DAppearanceNode newValue)
Assign X3DAppearanceNode instance (using a properly typed node) to inputOutput SFNode field appearance.
|
ParticleSystemObject |
setBboxCenter(float[] newValue)
Assign 3-tuple float array to initializeOnly SFVec3f field named bboxCenter.
|
ParticleSystemObject |
setBboxCenter(float x,
float y,
float z)
Assign values to SFVec3f bboxCenter field, similar to
setBboxCenter(float[]). |
ParticleSystemObject |
setBboxCenter(SFVec3fObject newValue)
Assign typed object value to SFVec3f bboxCenter field, similar to
setBboxCenter(float[]). |
ParticleSystemObject |
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.
|
ParticleSystemObject |
setBboxSize(float x,
float y,
float z)
Assign values to SFVec3f bboxSize field, similar to
setBboxSize(float[]). |
ParticleSystemObject |
setBboxSize(SFVec3fObject newValue)
Assign typed object value to SFVec3f bboxSize field, similar to
setBboxSize(float[]). |
ParticleSystemObject |
setColorKey(java.util.ArrayList<java.lang.Float> newValue)
Assign ArrayList value of MFFloat colorKey field, similar to
setColorKey(float[]). |
ParticleSystemObject |
setColorKey(float[] newValue)
Assign Float array using RGB values [0..1] to initializeOnly MFFloat field named colorKey.
|
ParticleSystemObject |
setColorKey(int[] newValue)
Assign floating-point array value of MFFloat colorKey field, similar to
setColorKey(float[]). |
ParticleSystemObject |
setColorKey(MFFloatObject newValue)
Assign typed object value to MFFloat colorKey field, similar to
setColorKey(float[]). |
ParticleSystemObject |
setColorRamp(ProtoInstanceObject newProtoInstanceNode)
Assign ProtoInstance to colorRamp field;
WARNING: ProtoInstance must match acceptable node type X3DColorNode.
|
ParticleSystemObject |
setColorRamp(X3DColorNode newValue)
Assign X3DColorNode instance (using a properly typed node) using RGB values [0..1] to initializeOnly SFNode field colorRamp.
|
ParticleSystemObject |
setCreateParticles(boolean newValue)
Assign boolean value to inputOutput SFBool field named createParticles.
|
ParticleSystemObject |
setCreateParticles(SFBoolObject newValue)
Assign typed object value to SFBool createParticles field, similar to
setCreateParticles(boolean). |
ParticleSystemObject |
setCssClass(SFStringObject newValue)
Assign typed object value to SFString cssClass field, similar to
setCssClass(String). |
ParticleSystemObject |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
ParticleSystemObject |
setDEF(SFStringObject newValue)
Assign typed object value to SFString DEF field, similar to
setDEF(String). |
ParticleSystemObject |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
ParticleSystemObject |
setEmitter(ProtoInstanceObject newProtoInstanceNode)
Assign ProtoInstance to emitter field;
WARNING: ProtoInstance must match acceptable node type X3DParticleEmitterNode.
|
ParticleSystemObject |
setEmitter(X3DParticleEmitterNode newValue)
Assign X3DParticleEmitterNode instance (using a properly typed node) to initializeOnly SFNode field emitter.
|
ParticleSystemObject |
setEnabled(boolean newValue)
Assign boolean value to inputOutput SFBool field named enabled.
|
ParticleSystemObject |
setEnabled(SFBoolObject newValue)
Assign typed object value to SFBool enabled field, similar to
setEnabled(boolean). |
ParticleSystemObject |
setGeometry(ProtoInstanceObject newProtoInstanceNode)
Assign ProtoInstance to geometry field;
WARNING: ProtoInstance must match acceptable node type X3DGeometryNode.
|
ParticleSystemObject |
setGeometry(X3DGeometryNode newValue)
Assign X3DGeometryNode instance (using a properly typed node) to inputOutput SFNode field geometry.
|
ParticleSystemObject |
setGeometryType(SFStringObject newValue)
Assign typed object value to SFString geometryType field, similar to
setGeometryType(String). |
ParticleSystemObject |
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.
|
ParticleSystemObject |
setIS(ISObject newValue)
Assign field named IS for establishing IS/connect field connections between ProtoInterface fields and internal ProtoBody nodes.
|
ParticleSystemObject |
setLifetimeVariation(float newValue)
Assign float value within allowed range of [0,1] to inputOutput SFFloat field named lifetimeVariation.
|
ParticleSystemObject |
setLifetimeVariation(SFFloatObject newValue)
Assign typed object value to SFFloat lifetimeVariation field, similar to
setLifetimeVariation(float). |
ParticleSystemObject |
setMaxParticles(int newValue)
Assign int value within allowed range of [0,infinity) to inputOutput SFInt32 field named maxParticles.
|
ParticleSystemObject |
setMaxParticles(SFInt32Object newValue)
Assign typed object value to SFInt32 maxParticles field, similar to
setMaxParticles(int). |
ParticleSystemObject |
setMetadata(ProtoInstanceObject newProtoInstanceNode)
Assign ProtoInstance to metadata field;
WARNING: ProtoInstance must match acceptable node type X3DMetadataObject.
|
ParticleSystemObject |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
ParticleSystemObject |
setParticleLifetime(float newValue)
Assign float value within allowed range of [0,infinity) to inputOutput SFFloat field named particleLifetime.
|
ParticleSystemObject |
setParticleLifetime(SFFloatObject newValue)
Assign typed object value to SFFloat particleLifetime field, similar to
setParticleLifetime(float). |
ParticleSystemObject |
setParticleSize(float[] newValue)
Assign 2-tuple float array within allowed range of [0,infinity) to inputOutput SFVec2f field named particleSize.
|
ParticleSystemObject |
setParticleSize(float x,
float y)
Assign values to SFVec2f particleSize field, similar to
setParticleSize(float[]). |
ParticleSystemObject |
setParticleSize(SFVec2fObject newValue)
Assign typed object value to SFVec2f particleSize field, similar to
setParticleSize(float[]). |
ParticleSystemObject |
setPhysics(java.util.ArrayList<X3DParticlePhysicsModelNode> newValue)
Assign ArrayList value of MFNode physics field, similar to
setPhysics(X3DNode[]). |
void |
setPhysics(X3DNode newValue)
Set single child physics node, replacing prior array of existing nodes (if any).
|
ParticleSystemObject |
setPhysics(X3DNode[] newValue)
Assign X3DParticlePhysicsModelNode array (using an array consisting of properly typed nodes or X3DPrototypeInstance objects) to initializeOnly MFNode field physics.
|
ParticleSystemObject |
setTexCoordKey(java.util.ArrayList<java.lang.Float> newValue)
Assign ArrayList value of MFFloat texCoordKey field, similar to
setTexCoordKey(float[]). |
ParticleSystemObject |
setTexCoordKey(float[] newValue)
Assign Float array within allowed range of [0,infinity) to initializeOnly MFFloat field named texCoordKey.
|
ParticleSystemObject |
setTexCoordKey(int[] newValue)
Assign floating-point array value of MFFloat texCoordKey field, similar to
setTexCoordKey(float[]). |
ParticleSystemObject |
setTexCoordKey(MFFloatObject newValue)
Assign typed object value to MFFloat texCoordKey field, similar to
setTexCoordKey(float[]). |
ParticleSystemObject |
setTexCoordRamp(ProtoInstanceObject newProtoInstanceNode)
Assign ProtoInstance to texCoordRamp field;
WARNING: ProtoInstance must match acceptable node type TextureCoordinate.
|
ParticleSystemObject |
setTexCoordRamp(TextureCoordinate newValue)
Assign TextureCoordinate instance (using a properly typed node) to initializeOnly SFNode field texCoordRamp.
|
ParticleSystemObject |
setUSE(ParticleSystemObject DEFnode)
Assign a USE reference to another DEF node of same node type, similar to
setUSE(String). |
ParticleSystemObject |
setUSE(SFStringObject newValue)
Assign typed object value to SFString USE field, similar to
setUSE(String). |
ParticleSystemObject |
setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
java.lang.String |
toStringClassicVRML(int level)
Recursive method to provide ClassicVRML string serialization.
|
java.lang.String |
toStringVRML97(int level)
Recursive method to provide VRML97 string serialization.
|
java.lang.String |
toStringX3D(int level)
Recursive method to provide X3D string serialization of this model subgraph.
|
java.lang.String |
validate()
Recursive method to validate this element plus all contained nodes and statements.
|
getContainerFieldAlternateValues, getContainerFieldOverride, getCssClass, getDEF, getUSE, isNode, isStatement, isUSE, resetContainerFieldOverride, setConcreteCssClass, setConcreteDEF, setConcreteUSE, setContainerFieldOverrideclearParentObject, findAncestorElementByName, findAncestorProtoBody, findAncestorSceneObject, findAncestorX3DObject, getPackageName, getParentObject, getValidationResult, hasAncestorElementByName, hasAncestorProtoBody, hasAncestorSceneObject, hasAncestorX3DObject, setParentObject, toStringClassicVRML, toStringVRML97, toStringX3Dpublic static final java.lang.String GEOMETRYTYPE_LINE
public static final java.lang.String GEOMETRYTYPE_POINT
public static final java.lang.String GEOMETRYTYPE_QUAD
public static final java.lang.String GEOMETRYTYPE_SPRITE
public static final java.lang.String GEOMETRYTYPE_TRIANGLE
public static final java.lang.String GEOMETRYTYPE_GEOMETRY
public static final java.lang.String NAME
public static final java.lang.String COMPONENT
public static final int LEVEL
public static final float[] BBOXCENTER_DEFAULT_VALUE
public static final float[] BBOXSIZE_DEFAULT_VALUE
public static final boolean CREATEPARTICLES_DEFAULT_VALUE
public static final boolean ENABLED_DEFAULT_VALUE
public static final java.lang.String GEOMETRYTYPE_DEFAULT_VALUE
public static final float LIFETIMEVARIATION_DEFAULT_VALUE
public static final int MAXPARTICLES_DEFAULT_VALUE
public static final float PARTICLELIFETIME_DEFAULT_VALUE
public static final float[] PARTICLESIZE_DEFAULT_VALUE
public static final java.lang.String fromField_APPEARANCE
public static final java.lang.String toField_APPEARANCE
public static final java.lang.String fromField_CREATEPARTICLES
public static final java.lang.String toField_CREATEPARTICLES
public static final java.lang.String fromField_ENABLED
public static final java.lang.String toField_ENABLED
public static final java.lang.String fromField_GEOMETRY
public static final java.lang.String toField_GEOMETRY
public static final java.lang.String fromField_ISACTIVE
public static final java.lang.String fromField_LIFETIMEVARIATION
public static final java.lang.String toField_LIFETIMEVARIATION
public static final java.lang.String fromField_MAXPARTICLES
public static final java.lang.String toField_MAXPARTICLES
public static final java.lang.String fromField_METADATA
public static final java.lang.String toField_METADATA
public static final java.lang.String fromField_PARTICLELIFETIME
public static final java.lang.String toField_PARTICLELIFETIME
public static final java.lang.String fromField_PARTICLESIZE
public static final java.lang.String toField_PARTICLESIZE
public ParticleSystemObject()
public ParticleSystemObject(java.lang.String DEFname)
DEFname - unique DEF name for this X3D nodepublic final java.lang.String getElementName()
getElementName in class X3DConcreteElementpublic final java.lang.String getComponent()
getComponent in class X3DConcreteElementpublic final int getComponentLevel()
getComponentLevel in class X3DConcreteElementpublic java.lang.String getFieldType(java.lang.String fieldName)
getFieldType in class X3DConcreteElementfieldName - name of field in this X3D nodeConfigurationProperties.ERROR_UNKNOWN_FIELD_TYPEpublic java.lang.String getAccessType(java.lang.String fieldName)
getAccessType in class X3DConcreteElementfieldName - name of field in this X3D nodeConfigurationProperties.ERROR_UNKNOWN_FIELD_ACCESSTYPEpublic final void initialize()
initialize in class X3DConcreteNodepublic X3DAppearanceNode getAppearance()
getAppearance in interface ParticleSystemgetAppearance in interface X3DShapeNode
Tooltip: [X3DAppearanceNode] The appearance field holds an Appearance node that is used for the geometry. All effects, such as material colours and/or multi-textures, are applied to each particle. Hint: if a texture coordinate ramp and key is supplied with this geometry, it shall be used in preference to any automatic texture coordinate generation. Hint: if automatic texture coordinate generation is used, results shall be based on the entire volume that the particles consume, not locally applied to each particle.public ParticleSystemObject setAppearance(X3DAppearanceNode newValue)
setAppearance in interface ParticleSystemsetAppearance in interface X3DShapeNodenewValue - is new value for the appearance field.ParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).
Tooltip: [X3DAppearanceNode] The appearance field holds an Appearance node that is used for the geometry. All effects, such as material colours and/or multi-textures, are applied to each particle. Hint: if a texture coordinate ramp and key is supplied with this geometry, it shall be used in preference to any automatic texture coordinate generation. Hint: if automatic texture coordinate generation is used, results shall be based on the entire volume that the particles consume, not locally applied to each particle.public ParticleSystemObject clearAppearance()
ParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public ParticleSystemObject setAppearance(ProtoInstanceObject newProtoInstanceNode)
newProtoInstanceNode - is the new ProtoInstance node for the appearance fieldParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).setAppearance(X3DAppearanceNode)public ProtoInstanceObject getAppearanceProtoInstance()
getAppearance()public boolean hasAppearance()
getAppearance(),
getAppearanceProtoInstance()public float[] getBboxCenter()
getBboxCenter in interface X3DBoundedObjectgetBboxCenter in interface ParticleSystemgetBboxCenter in interface X3DShapeNodepublic ParticleSystemObject setBboxCenter(float[] newValue)
setBboxCenter in interface X3DBoundedObjectsetBboxCenter in interface ParticleSystemsetBboxCenter in interface X3DShapeNodenewValue - is new value for the bboxCenter field.ParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public ParticleSystemObject setBboxCenter(SFVec3fObject newValue)
setBboxCenter(float[]).newValue - is new value for the bboxCenter field.ParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public ParticleSystemObject setBboxCenter(float x, float y, float z)
setBboxCenter(float[]).x - first componenty - second componentz - third componentParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public float[] getBboxSize()
getBboxSize in interface X3DBoundedObjectgetBboxSize in interface ParticleSystemgetBboxSize in interface X3DShapeNodepublic ParticleSystemObject setBboxSize(float[] newValue)
setBboxSize in interface X3DBoundedObjectsetBboxSize in interface ParticleSystemsetBboxSize in interface X3DShapeNodenewValue - is new value for the bboxSize field.ParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public ParticleSystemObject setBboxSize(SFVec3fObject newValue)
setBboxSize(float[]).newValue - is new value for the bboxSize field.ParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public ParticleSystemObject setBboxSize(float x, float y, float z)
setBboxSize(float[]).x - first componenty - second componentz - third componentParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public float[] getColorKey()
getColorKey in interface ParticleSystempublic java.util.ArrayList<java.lang.Float> getColorKeyList()
getColorKey().public ParticleSystemObject setColorKey(float[] newValue)
setColorKey in interface ParticleSystemnewValue - is new value for the colorKey field.ParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public ParticleSystemObject setColorKey(MFFloatObject newValue)
setColorKey(float[]).newValue - is new value for the colorKey field.ParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public ParticleSystemObject setColorKey(java.util.ArrayList<java.lang.Float> newValue)
setColorKey(float[]).newValue - is new value for the colorKey field.ParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public ParticleSystemObject clearColorKey()
ParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public ParticleSystemObject setColorKey(int[] newValue)
setColorKey(float[]).newValue - is new value for the colorKey field.ParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public X3DColorNode getColorRamp()
getColorRamp in interface ParticleSystem
Tooltip: [X3DColorNode] The colorRamp Color/ColorRGBA node holds a series of colour values to be used at the given colorKey points in time. Hint: color values are defined as per-vertex colour values. Warning: if an Appearance and Material nodes are provided, those material properties override colorRamp interpolation. Hint: number of colorKey values must match length of the per-vertex colorRamp arrays! Hint: X3D Scene Authoring Hints, Color http://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#Color.public ParticleSystemObject setColorRamp(X3DColorNode newValue)
setColorRamp in interface ParticleSystemnewValue - is new value for the colorRamp field.ParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).
Tooltip: [X3DColorNode] The colorRamp Color/ColorRGBA node holds a series of colour values to be used at the given colorKey points in time. Hint: color values are defined as per-vertex colour values. Warning: if an Appearance and Material nodes are provided, those material properties override colorRamp interpolation. Hint: number of colorKey values must match length of the per-vertex colorRamp arrays! Hint: X3D Scene Authoring Hints, Color http://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#Color.public ParticleSystemObject clearColorRamp()
ParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public ParticleSystemObject setColorRamp(ProtoInstanceObject newProtoInstanceNode)
newProtoInstanceNode - is the new ProtoInstance node for the colorRamp fieldParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).setColorRamp(X3DColorNode)public ProtoInstanceObject getColorRampProtoInstance()
getColorRamp()public boolean hasColorRamp()
getColorRamp(),
getColorRampProtoInstance()public boolean getCreateParticles()
getCreateParticles in interface ParticleSystempublic ParticleSystemObject setCreateParticles(boolean newValue)
setCreateParticles in interface ParticleSystemnewValue - is new value for the createParticles field.ParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public ParticleSystemObject setCreateParticles(SFBoolObject newValue)
setCreateParticles(boolean).newValue - is new value for the createParticles field.ParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public X3DParticleEmitterNode getEmitter()
getEmitter in interface ParticleSystem
Tooltip: [X3DParticleEmitterNode] The emitter field specifies the type of emitter geometry and properties that the particles are given for their initial positions.public ParticleSystemObject setEmitter(X3DParticleEmitterNode newValue)
setEmitter in interface ParticleSystemnewValue - is new value for the emitter field.ParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).
Tooltip: [X3DParticleEmitterNode] The emitter field specifies the type of emitter geometry and properties that the particles are given for their initial positions.public ParticleSystemObject clearEmitter()
ParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public ParticleSystemObject setEmitter(ProtoInstanceObject newProtoInstanceNode)
newProtoInstanceNode - is the new ProtoInstance node for the emitter fieldParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).setEmitter(X3DParticleEmitterNode)public ProtoInstanceObject getEmitterProtoInstance()
getEmitter()public boolean hasEmitter()
getEmitter(),
getEmitterProtoInstance()public boolean getEnabled()
getEnabled in interface ParticleSystempublic ParticleSystemObject setEnabled(boolean newValue)
setEnabled in interface ParticleSystemnewValue - is new value for the enabled field.ParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public ParticleSystemObject setEnabled(SFBoolObject newValue)
setEnabled(boolean).newValue - is new value for the enabled field.ParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public X3DGeometryNode getGeometry()
getGeometry in interface ParticleSystemgetGeometry in interface X3DShapeNode
Tooltip: [X3DGeometryNode] The geometry node provides geometry used for each particle when geometryType=GEOMETRY. Hint: include <component name='Geospatial' level='1'/>.public ParticleSystemObject setGeometry(X3DGeometryNode newValue)
setGeometry in interface ParticleSystemsetGeometry in interface X3DShapeNodenewValue - is new value for the geometry field.ParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).
Tooltip: [X3DGeometryNode] The geometry node provides geometry used for each particle when geometryType=GEOMETRY. Hint: include <component name='Geospatial' level='1'/>.public ParticleSystemObject clearGeometry()
ParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public ParticleSystemObject setGeometry(ProtoInstanceObject newProtoInstanceNode)
newProtoInstanceNode - is the new ProtoInstance node for the geometry fieldParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).setGeometry(X3DGeometryNode)public ProtoInstanceObject getGeometryProtoInstance()
getGeometry()public boolean hasGeometry()
getGeometry(),
getGeometryProtoInstance()public java.lang.String getGeometryType()
LINE, POINT, QUAD, SPRITE, TRIANGLE, GEOMETRY.getGeometryType in interface ParticleSystempublic ParticleSystemObject setGeometryType(java.lang.String newValue)
LINE, POINT, QUAD, SPRITE, TRIANGLE, GEOMETRY).setGeometryType in interface ParticleSystemnewValue - is new value for the geometryType field.ParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public ParticleSystemObject setGeometryType(SFStringObject newValue)
setGeometryType(String).newValue - is new value for the geometryType field.ParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public boolean getIsActive()
getIsActive in interface ParticleSystempublic float getLifetimeVariation()
getLifetimeVariation in interface ParticleSystempublic ParticleSystemObject setLifetimeVariation(float newValue)
setLifetimeVariation in interface ParticleSystemnewValue - is new value for the lifetimeVariation field.ParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public ParticleSystemObject setLifetimeVariation(SFFloatObject newValue)
setLifetimeVariation(float).newValue - is new value for the lifetimeVariation field.ParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public int getMaxParticles()
getMaxParticles in interface ParticleSystempublic ParticleSystemObject setMaxParticles(int newValue)
setMaxParticles in interface ParticleSystemnewValue - is new value for the maxParticles field.ParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public ParticleSystemObject setMaxParticles(SFInt32Object newValue)
setMaxParticles(int).newValue - is new value for the maxParticles field.ParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public X3DMetadataObject getMetadata()
getMetadata in interface X3DChildNodegetMetadata in interface X3DNodegetMetadata in interface ParticleSystemgetMetadata in interface X3DShapeNodegetMetadataProtoInstance(),
X3D Scene Authoring Hints: Metadata Nodespublic ParticleSystemObject setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DChildNodesetMetadata in interface X3DNodesetMetadata in interface ParticleSystemsetMetadata in interface X3DShapeNodesetMetadata in class X3DConcreteNodenewValue - is new value for the metadata field.ParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).setMetadata(ProtoInstanceObject),
X3D Scene Authoring Hints: Metadata Nodespublic ParticleSystemObject clearMetadata()
ParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public ParticleSystemObject setMetadata(ProtoInstanceObject newProtoInstanceNode)
newProtoInstanceNode - is the new ProtoInstance node for the metadata fieldParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).setMetadata(X3DMetadataObject),
X3D Scene Authoring Hints: Metadata Nodespublic ProtoInstanceObject getMetadataProtoInstance()
getMetadata(),
X3D Scene Authoring Hints: Metadata Nodespublic boolean hasMetadata()
getMetadata(),
getMetadataProtoInstance(),
X3D Scene Authoring Hints: Metadata Nodespublic float getParticleLifetime()
getParticleLifetime in interface ParticleSystempublic ParticleSystemObject setParticleLifetime(float newValue)
setParticleLifetime in interface ParticleSystemnewValue - is new value for the particleLifetime field.ParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public ParticleSystemObject setParticleLifetime(SFFloatObject newValue)
setParticleLifetime(float).newValue - is new value for the particleLifetime field.ParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public float[] getParticleSize()
getParticleSize in interface ParticleSystempublic ParticleSystemObject setParticleSize(float[] newValue)
setParticleSize in interface ParticleSystemnewValue - is new value for the particleSize field.ParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public ParticleSystemObject setParticleSize(SFVec2fObject newValue)
setParticleSize(float[]).newValue - is new value for the particleSize field.ParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public ParticleSystemObject setParticleSize(float x, float y)
setParticleSize(float[]).x - first componenty - second componentParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public X3DNode[] getPhysics()
getPhysics in interface ParticleSystempublic java.util.ArrayList<X3DParticlePhysicsModelNode> getPhysicsList()
getPhysics().public ParticleSystemObject setPhysics(X3DNode[] newValue)
setPhysics in interface ParticleSystemnewValue - is new value for the physics field.ParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public ParticleSystemObject setPhysics(java.util.ArrayList<X3DParticlePhysicsModelNode> newValue)
setPhysics(X3DNode[]).newValue - is new value for the physics field.ParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public ParticleSystemObject addPhysics(X3DParticlePhysicsModelNode newValue)
newValue - is new value to be appended the physics field.ParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public void addPhysics(X3DNode[] newValue)
addPhysics in interface ParticleSystemnewValue - is new value array to be appended the physics field.public void setPhysics(X3DNode newValue)
setPhysics in interface ParticleSystemnewValue - is new node for the physics field.public ParticleSystemObject clearPhysics()
ParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public boolean hasPhysics()
getPhysics()public float[] getTexCoordKey()
getTexCoordKey in interface ParticleSystempublic java.util.ArrayList<java.lang.Float> getTexCoordKeyList()
getTexCoordKey().public ParticleSystemObject setTexCoordKey(float[] newValue)
setTexCoordKey in interface ParticleSystemnewValue - is new value for the texCoordKey field.ParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public ParticleSystemObject setTexCoordKey(MFFloatObject newValue)
setTexCoordKey(float[]).newValue - is new value for the texCoordKey field.ParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public ParticleSystemObject setTexCoordKey(java.util.ArrayList<java.lang.Float> newValue)
setTexCoordKey(float[]).newValue - is new value for the texCoordKey field.ParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public ParticleSystemObject clearTexCoordKey()
ParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public ParticleSystemObject setTexCoordKey(int[] newValue)
setTexCoordKey(float[]).newValue - is new value for the texCoordKey field.ParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public TextureCoordinate getTexCoordRamp()
getTexCoordRamp in interface ParticleSystem
Tooltip: [TextureCoordinate] texture coordinates of the provided texture(s) in the Appearance node, over time. Particle systems frequently like to change the texture on a particle as it ages, yet there is no good way of accomplishing this through standard interpolators because interpolators have no concept of particle time. This pair of fields hold time-dependent values for the texture coordinates to be applied to the particle. When a particle reaches the next time stamp it moves to the next set of texture coordinates. Hint: texture-coordinate values map textures to vertices in the geometry. Hint: number of texCoordKey values must match length of the per-vertex texCoordRamp arrays!.public ParticleSystemObject setTexCoordRamp(TextureCoordinate newValue)
setTexCoordRamp in interface ParticleSystemnewValue - is new value for the texCoordRamp field.ParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).
Tooltip: [TextureCoordinate] texture coordinates of the provided texture(s) in the Appearance node, over time. Particle systems frequently like to change the texture on a particle as it ages, yet there is no good way of accomplishing this through standard interpolators because interpolators have no concept of particle time. This pair of fields hold time-dependent values for the texture coordinates to be applied to the particle. When a particle reaches the next time stamp it moves to the next set of texture coordinates. Hint: texture-coordinate values map textures to vertices in the geometry. Hint: number of texCoordKey values must match length of the per-vertex texCoordRamp arrays!.public ParticleSystemObject clearTexCoordRamp()
ParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public ParticleSystemObject setTexCoordRamp(ProtoInstanceObject newProtoInstanceNode)
newProtoInstanceNode - is the new ProtoInstance node for the texCoordRamp fieldParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).setTexCoordRamp(TextureCoordinate)public ProtoInstanceObject getTexCoordRampProtoInstance()
getTexCoordRamp()public boolean hasTexCoordRamp()
getTexCoordRamp(),
getTexCoordRampProtoInstance()public final ParticleSystemObject setDEF(java.lang.String newValue)
setDEF in interface X3DChildNodesetDEF in interface X3DNodesetDEF in interface ParticleSystemsetDEF in interface X3DShapeNodesetDEF in class X3DConcreteNodenewValue - is new value for the DEF field.ParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public ParticleSystemObject setDEF(SFStringObject newValue)
setDEF(String).newValue - is new value for the DEF field.ParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public final ParticleSystemObject 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 resets all other fields to their default values and also releases all child nodes.setUSE in interface X3DChildNodesetUSE in interface X3DNodesetUSE in interface ParticleSystemsetUSE in interface X3DShapeNodesetUSE in class X3DConcreteNodenewValue - is new value for the USE field.ParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public ParticleSystemObject setUSE(SFStringObject newValue)
setUSE(String).newValue - is new value for the USE field.ParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public final ParticleSystemObject setCssClass(java.lang.String newValue)
setCssClass in interface X3DChildNodesetCssClass in interface X3DNodesetCssClass in interface ParticleSystemsetCssClass in interface X3DShapeNodesetCssClass in class X3DConcreteNodenewValue - is new value for the class field.ParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public ParticleSystemObject setCssClass(SFStringObject newValue)
setCssClass(String).newValue - is new value for the class field.ParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public ParticleSystemObject setIS(ISObject newValue)
setIS in class X3DConcreteNodenewValue - is new value for the description field.ParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public ISObject getIS()
getIS in class X3DConcreteNodepublic ParticleSystemObject setUSE(ParticleSystemObject DEFnode)
setUSE(String).
setUSE() method resets all other fields to their default values and also releases
all child nodes.
DEFnode - must have a DEF value definedParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same node object).public ParticleSystemObject addComments(java.lang.String newComment)
addComments in class X3DConcreteElementnewComment - initial valueParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public ParticleSystemObject addComments(java.lang.String[] newComments)
addComments in class X3DConcreteElementnewComments - array of commentsParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public ParticleSystemObject addComments(CommentsBlock newCommentsBlock)
addComments in class X3DConcreteElementnewCommentsBlock - block of comments to addParticleSystemObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public java.lang.String toStringX3D(int level)
toStringX3D in class X3DConcreteElementlevel - number of levels of indentation for this elementpublic java.lang.String toStringClassicVRML(int level)
toStringClassicVRML in class X3DConcreteElementlevel - number of levels of indentation for this elementpublic java.lang.String toStringVRML97(int level)
toStringVRML97 in class X3DConcreteElementlevel - number of levels of indentation for this elementpublic X3DConcreteNode getNodeByDEF(java.lang.String DEFname)
getNodeByDEF in class X3DConcreteNodeDEFname - DEF name of node to findpublic X3DConcreteElement findElementByNameValue(java.lang.String nameValue)
findElementByNameValue in class X3DConcreteElementnameValue - is value of the name field being searched for in this element and child elements(if any)findNodeByDEF(String)public X3DConcreteElement findElementByNameValue(java.lang.String nameValue, java.lang.String elementName)
findElementByNameValue in class X3DConcreteElementnameValue - is value of the name field being searched for in this element and child elements(if any)elementName - identifies the element of interest (meta MetadataString ProtoDeclare CADassembly ProtoInstance HAnimHumanoid etc.)findNodeByDEF(String)public boolean hasElementByNameValue(java.lang.String nameValue,
java.lang.String elementName)
nameValue - is value of the name field being searched for in this element and child elements(if any)elementName - identifies the element of interest (meta MetadataString ProtoDeclare CADassembly ProtoInstance HAnimHumanoid etc.)findElementByNameValue(String, String)public X3DConcreteNode findNodeByDEF(java.lang.String DEFvalue)
findNodeByDEF in class X3DConcreteElementDEFvalue - is value of the name field being searched for in this element and child elements(if any)findElementByNameValue(String)public boolean hasNodeByDEF(java.lang.String DEFvalue)
DEFvalue - is value of the name field being searched for in this element and child elements(if any)findNodeByDEF(String)public java.lang.String validate()
validate in class X3DConcreteElementCopyright ©2005-2017 Web3D Consortium under an open-source license, free for any use. Feedback is welcome.