This class is used to implement a particle system and is inherited by the ParticleSystem class.Particle system are commonly used to create visual effects such as flames, smoke, and water.
See:
Members
-
The maximum number of particles to emit per frame
-
Default Value:
10
-
staticSuperMap3D.BaseParticleSystem.gravity : Cartesian3
-
You can use gravity if you want to give an orientation to your particles.
-
Default Value:
Cartesian3(0,0,0)
-
Maximum angular speed of emitting particles (Z-axis rotation for each particle).
-
Default Value:
0
-
Maximum power of emitting particles.
-
Default Value:
1
-
Gets or sets the maximal initial rotation in radians.
-
Default Value:
0
-
Maximum life time of emitting particles.
-
Default Value:
1
-
Maximum scale of emitting particles on X axis.
-
Default Value:
1
-
Maximum scale of emitting particles on Y axis.
-
Default Value:
1
-
Maximum Size of emitting particles.
-
Default Value:
1
-
Minimum angular speed of emitting particles (Z-axis rotation for each particle).
-
Default Value:
0
-
Minimum power of emitting particles.
-
Default Value:
1
-
Gets or sets the minimal initial rotation in radians.
-
Default Value:
0
-
Minimum life time of emitting particles.
-
Default Value:
1
-
Minimum scale of emitting particles on X axis.
-
Default Value:
1
-
Minimum scale of emitting particles on Y axis.
-
Default Value:
1
-
Minimum Size of emitting particles.
-
Default Value:
1
-
The overall motion speed (0.01 is default update speed, faster updates = faster animation)
-
Default Value:
0.01
Methods
-
Creates a Box Emitter for the particle system. (emits between direction1 and direction2 from withing the box defined by minEmitBox and maxEmitBox)
Name Type Description direction1
Number Particles are emitted between the direction1 and direction2 from within the box direction2
Number Particles are emitted between the direction1 and direction2 from within the box minEmitBox
Number Particles are emitted from the box between minEmitBox and maxEmitBox maxEmitBox
Number Particles are emitted from the box between minEmitBox and maxEmitBox Returns:
the emitter -
Creates a Cone Emitter for the particle system (emits from the cone to the particle position)
Name Type Description radius
Number The radius of the cone to emit from angle
Number The base angle of the cone Returns:
the emitter -
Creates a Cylinder Emitter for the particle system (emits from the cylinder to the particle position)
Name Type Description radius
Number The radius of the emission cylinder height
Number The height of the emission cylinder radiusRange
Number The range of emission [0-1] 0 Surface only, 1 Entire Radius directionRandomizer
Number How much to randomize the particle direction [0-1] Returns:
the emitter -
Creates a Directed Cylinder Emitter for the particle system (emits between direction1 and direction2)
Name Type Description radius
Number The radius of the cylinder to emit from height
Number The height of the emission cylinder radiusRange
Number the range of the emission cylinder [0-1] 0 Surface only, 1 Entire Radius (1 by default) direction1
Number new Cartesian3(0, 1, 0)] Particles are emitted between the direction1 and direction2 from within the cylinder direction2
Number new Cartesian3(0, 1, 0)] Particles are emitted between the direction1 and direction2 from within the cylinder Returns:
the emitter -
Creates a Directed Sphere Emitter for the particle system (emits between direction1 and direction2)
Name Type Description radius
Number The radius of the sphere to emit from direction1
Number new Cartesian3(0, 1, 0)] Particles are emitted between the direction1 and direction2 from within the sphere direction2
Number new Cartesian3(0, 1, 0)] Particles are emitted between the direction1 and direction2 from within the sphere Returns:
the emitter -
Creates a Hemisphere Emitter for the particle system (emits along the hemisphere radius)
Name Type Description radius
Number The radius of the hemisphere to emit from radiusRange
Number The range of the hemisphere to emit from [0-1] 0 Surface Only, 1 Entire Radius Returns:
the emitter -
Creates a Point Emitter for the particle system (emits directly from the emitter position)
Name Type Description direction1
Number Particles are emitted between the direction1 and direction2 from within the box direction2
Number Particles are emitted between the direction1 and direction2 from within the box Returns:
the emitter -
Creates a Sphere Emitter for the particle system (emits along the sphere radius)
Name Type Description radius
Number The radius of the sphere to emit from radiusRange
Number The range of the sphere to emit from [0-1] 0 Surface Only, 1 Entire Radius Returns:
the emitter -
Get hosting scene
Returns:
the scene