Class ParticleSphereShapeOptions

Information describing a ParticleEmitterSphereShape.

Constructors

Properties

Accessors

Methods

Constructors

Properties

_radius: number
_thickness: number

Accessors

  • get radius(): number
  • Radius of the sphere.

    Returns number

  • set radius(value): void
  • Parameters

    • value: number

    Returns void

  • get thickness(): number
  • Proportion of the volume that can emit particles. Thickness of 0 results in particles being emitted only from the edge of the volume, while thickness of 1 results in particles being emitted from the entire volume. In-between values will use a part of the volume.

    Returns number

  • set thickness(value): void
  • Parameters

    • value: number

    Returns void

Methods