ParticleSystem
The ParticleSystem node specifies a complete particle system.
Inheritance
Code
XML encoding
<ParticleSystem createParticles='' enabled='' lifetimeVariation='0.25' maxParticles='200' particleLifetime='5' particleSize='0.02 0.02' colorKey='NULL' geometryType='QUAD' texCoordKey='[]' bboxCenter='0 0 0' bboxSize='-1 -1 -1' render='TRUE' showBBox='FALSE' logFeature='' />
Classic encoding
ParticleSystem { createParticles enabled lifetimeVariation 0.25 maxParticles 200 particleLifetime 5 particleSize 0.02 0.02 colorKey [NULL] geometryType "QUAD" texCoordKey [[]] bboxCenter 0 0 0 bboxSize -1 -1 -1 render TRUE showBBox FALSE logFeature [""] }
Interface
Filter: X3D only | Avalon only | All
id | Name | DataType | PartType | Default | ValueType | Description |
---|---|---|---|---|---|---|
colorKey | MFFloat | initializeOnly | NULL | [0, Inf) | ||
texCoordKey | MFFloat | initializeOnly | [] | [0, Inf) | ||
physics | MFNode | initializeOnly | [] | [ParticlePhysicsModel] | ||
logFeature | MFString | inputOutput | state, child, parent, route, eventIn, eventOut | controls the logging of changes, state: log state changes (e.g. live), child: log child add/remove, parent: log parent add/remove, route: log route add/remove; eventIn: log receiving of events, eventOut: log sending of events: guiView, runtime system should create node-view, guiEdit: runtime system should create node-editeverything: log everything | ||
createParticles | SFBool | inputOutput | TRUE | |||
enabled | SFBool | inputOutput | TRUE | |||
isActive | SFBool | outputOnly | ||||
render | SFBool | inputOutput | TRUE | Flag to control the visibility of the node or subtree | ||
showBBox | SFBool | inputOutput | FALSE | Show Bounding Box of Subtree. | ||
lifetimeVariation | SFFloat | inputOutput | 0.25 | [0, 1] | ||
particleLifetime | SFFloat | inputOutput | 5 | [0, Inf) | ||
maxParticles | SFInt32 | inputOutput | 200 | [0, Inf) | ||
appearance | SFNode | inputOutput | Appearance | contains an Appearance node. | ||
colorRamp | SFNode | initializeOnly | NULL | [Color] | ||
emitter | SFNode | initializeOnly | NULL | [ParticleEmitter] | ||
geometry | SFNode | inputOutput | Geometry | contains a geometry node (for example, Box, Cone, IndexedFaceset or Pointset). | ||
metadata | SFNode | inputOutput | MetadataObject | container for payload metadata inside MetadataSet element | ||
texCoordRamp | SFNode | initializeOnly | NULL | [TextureCoordinate] | ||
geometryType | SFString | initializeOnly | QUAD | [LINE | POINT | QUAD | SPRITE | TRIANGLE | GEOMETRY] | ||
particleSize | SFVec2f | inputOutput | 0.02 0.02 | [0, Inf) | ||
bboxCenter | SFVec3f | initializeOnly | 0 0 0 | Bounding box center: position offset from origin of local coordinate system. | ||
bboxSize | SFVec3f | initializeOnly | -1 -1 -1 | Bounding box size: automatically calculated, can be specified as an optimization or constraint. |