| 1 |
X3DParticleEmitterNode : X3DNode { |
| 2 |
default-container-field: emitter |
| 3 |
SFFloat [in,out] speed 0 |
| 4 |
range: [0,Inf) |
| 5 |
SFFloat [in,out] variation 0.25 |
| 6 |
range: [0,Inf) |
| 7 |
SFFloat [] mass 0 |
| 8 |
range: [0,Inf) |
| 9 |
SFFloat [] surfaceArea 0 |
| 10 |
range: [0,Inf) |
| 11 |
} |
| 12 |
|
| 13 |
X3DParticlePhysicsModelNode : X3DNode { |
| 14 |
default-container-field: physics |
| 15 |
SFBool [in,out] enabled TRUE |
| 16 |
} |
| 17 |
|
| 18 |
BoundedPhysicsModel : X3DParticlePhysicsModelNode { |
| 19 |
SFNode [in,out] geometry NULL |
| 20 |
range: X3DGeometryNode |
| 21 |
} |
| 22 |
|
| 23 |
ConeEmitter : X3DParticleEmitterNode { |
| 24 |
SFFloat [in,out] angle Pi/4 |
| 25 |
range: [0,Pi] |
| 26 |
SFVec3f [in,out] direction 0 1 0 |
| 27 |
SFVec3f [in,out] position 0 0 0 |
| 28 |
} |
| 29 |
|
| 30 |
ExplosionEmitter : X3DParticleEmitterNode { |
| 31 |
SFVec3f [in,out] position 0 0 0 |
| 32 |
} |
| 33 |
|
| 34 |
ForcePhysicsModel : X3DParticlePhysicsModelNode { |
| 35 |
SFVec3f [in,out] force 0 -9.8 0 |
| 36 |
range: (Inf,Inf) |
| 37 |
} |
| 38 |
|
| 39 |
ParticleSystem : X3DShapeNode { |
| 40 |
SFBool [in,out] createParticles TRUE |
| 41 |
SFBool [in,out] enabled TRUE |
| 42 |
SFFloat [in,out] lifetimeVariation 0.25 |
| 43 |
range: [0,1] |
| 44 |
SFInt32 [in,out] maxParticles 200 |
| 45 |
range: [0,Inf) |
| 46 |
SFFloat [in,out] particleLifetime 5 |
| 47 |
range: [0,Inf) |
| 48 |
SFVec2f [in,out] particleSize 0.02 0.02 |
| 49 |
range: [0,Inf) |
| 50 |
SFBool [out] isActive |
| 51 |
# Note: colorRamp->color rename in X3D 4. |
| 52 |
# We only support X3D 4 version. |
| 53 |
SFNode [] color NULL |
| 54 |
range: X3DColorNode |
| 55 |
MFFloat [] colorKey [] |
| 56 |
range: [0,Inf) |
| 57 |
SFNode [] emitter NULL |
| 58 |
range: X3DParticleEmitterNode |
| 59 |
SFString [] geometryType "QUAD" |
| 60 |
range: ["LINE"|"POINT"|"QUAD"|"SPRITE"|"TRIANGLE"|"GEOMETRY"|...] |
| 61 |
enumerated-type: TParticlesGeometry ParticlesGeometryNames pgQuad |
| 62 |
MFNode [] physics [] |
| 63 |
range: X3DParticlePhysicsModelNode |
| 64 |
# Note: texCoordRamp->texCoord rename in X3D 4. |
| 65 |
# We only support X3D 4 version. |
| 66 |
SFNode [] texCoord NULL |
| 67 |
range: TextureCoordinate |
| 68 |
MFFloat [] texCoordKey [] |
| 69 |
range: [0,Inf) |
| 70 |
} |
| 71 |
|
| 72 |
PointEmitter : X3DParticleEmitterNode { |
| 73 |
SFVec3f [in,out] direction 0 1 0 |
| 74 |
SFVec3f [in,out] position 0 0 0 |
| 75 |
} |
| 76 |
|
| 77 |
PolylineEmitter : X3DParticleEmitterNode { |
| 78 |
MFInt32 [in] set_coordIndex |
| 79 |
SFNode [in,out] coord NULL |
| 80 |
range: X3DCoordinateNode |
| 81 |
SFVec3f [in,out] direction 0 1 0 |
| 82 |
range: [-1,1] |
| 83 |
MFInt32 [] coordIndex [-1] |
| 84 |
range: [0,Inf) or -1 |
| 85 |
} |
| 86 |
|
| 87 |
SurfaceEmitter : X3DParticleEmitterNode { |
| 88 |
MFInt32 [in] set_coordIndex |
| 89 |
MFInt32 [] coordIndex [ -1] |
| 90 |
range: [0,Inf) or -1 |
| 91 |
SFNode [] surface NULL |
| 92 |
range: X3DGeometryNode |
| 93 |
} |
| 94 |
|
| 95 |
VolumeEmitter : X3DParticleEmitterNode { |
| 96 |
MFInt32 [in] set_coordIndex |
| 97 |
SFNode [in,out] coord NULL |
| 98 |
range: X3DCoordinateNode |
| 99 |
SFVec3f [in,out] direction 0 1 0 |
| 100 |
range: [-1,1] |
| 101 |
MFInt32 [] coordIndex [-1] |
| 102 |
range: [0,Inf) or -1 |
| 103 |
SFBool [] internal TRUE |
| 104 |
} |
| 105 |
|
| 106 |
WindPhysicsModel : X3DParticlePhysicsModelNode { |
| 107 |
SFVec3f [in,out] direction 0 0 0 |
| 108 |
range: (Inf,Inf) |
| 109 |
SFFloat [in,out] gustiness 0.1 |
| 110 |
range: [0,Inf) |
| 111 |
SFFloat [in,out] speed 0.1 |
| 112 |
range: [0,Inf) |
| 113 |
SFFloat [in,out] turbulence 0 |
| 114 |
range: [0,1] |
| 115 |
} |