API

Class SphereParticleEmitter

Particle emitter emitting particles from the inside of a sphere. It emits the particles alongside the sphere radius. The emission direction might be randomized.

Hierarchy (View Summary)

Implements

Index
  • Creates a new instance SphereParticleEmitter

    Parameters

    • radius: number = 1

      the radius of the emission sphere (1 by default)

    • radiusRange: number = 1

      the range of the emission sphere [0-1] 0 Surface only, 1 Entire Radius (1 by default)

    • directionRandomizer: number = 0

      defines how much to randomize the particle direction [0-1]

    Returns SphereParticleEmitter

directionRandomizer: number = 0

[0] How much to randomize the particle direction [0-1].

radius: number = 1

[1] The radius of the emission sphere.

radiusRange: number = 1

[1] The range of emission [0-1] 0 Surface only, 1 Entire Radius.