API

Class CylinderParticleEmitter

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

Hierarchy (View Summary)

Implements

Index
  • Creates a new instance CylinderParticleEmitter

    Parameters

    • radius: number = 1

      the radius of the emission cylinder (1 by default)

    • height: number = 1

      the height of the emission cylinder (1 by default)

    • radiusRange: number = 1

      the range of the emission cylinder [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 CylinderParticleEmitter

directionRandomizer: number = 0

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

height: number = 1

[1] The height of the emission cylinder.

radius: number = 1

[1] The radius of the emission cylinder.

radiusRange: number = 1

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