Node: ParticleSet

Component: Rendering

Quick Links

➨ Fields

The ParticleSet is a geometry node used in combination with a ParticleSystem node. Attention: So far this is only a stub.

HTML Encoding and Default Values

<ParticleSet ccw='true' color='x3dom.nodeTypes.X3DColorNode' coord='x3dom.nodeTypes.X3DCoordinateNode' drawOrder='Any' index='' lit='true' metadata='X3DMetadataObject' mode='ViewDirQuads' normal='null' size='' solid='true' textureZ='' useGeoCache='true' ></ParticleSet>



These are the X3D / X3DOM fields of this node. Values should usually be received / set as strings via DOM functions (i.e., using setAttribute("myFieldName", "myFieldValue") and getAttribute("myFieldName")).
Name Type Default Value Range Inheritance Standard Description
ccw SFBool true X3DGeometryNode The ccw field defines the ordering of the vertex coordinates of the geometry with respect to user-given or automatically generated normal vectors used in the lighting model equations.
color SFNode X3DColorNode PointSet If NULL the geometry is rendered using the Material and texture defined in the Appearance node. If not NULL the field shall contain a Color node whose colours are applied depending on the value of "colorPerVertex".
coord SFNode X3DCoordinateNode PointSet Coordinate node specifiying the vertices used by the geometry.
drawOrder SFString Any [Any, BackToFront, FrontToBack] Defines the drawing order for the particles. Possible values: "Any" - The order is undefined. "BackToFront" - Draw from back to front. "FrontToBack" - Draw from front to back.
index MFInt32 An MFInt32 field containing indices which specify the order of the vertices in the "coord" field.
lit SFBool true X3DGeometryNode Specifies whether this geometry should be rendered with or without lighting.
metadata SFNode X3DMetadataObject Core/X3DNode Field to add metadata information
mode SFString ViewDirQuads [ViewDirQuads, Points, Lines, Arrows, ViewerArrows, ViewerQuads, Rectangles] Drawing mode: "ViewDirQuads" - Draws quads directed to the viewpoint (default). "Points" - Draw points. "Lines" - Draw lines. These modes must not match the finally supported modes.
normal SFNode null Stores a Normal node containing the normals of the particles.
size MFVec3f An MFVec3f field containing the sizes of the particles.
solid SFBool true X3DGeometryNode Specifies whether backface-culling is used. If solid is TRUE only front-faces are drawn.
textureZ MFFloat An MFFloat field containing z-values for the texture of a particle (used with 3D textures).
useGeoCache SFBool true X3DGeometryNode Most geo primitives use geo cache and others might later on, but one should be able to disable cache per geometry node. Defaults to global useGeoCache setting parameter.