Class ParticleConeShapeOptions

Information describing a ParticleEmitterConeShape.

Constructors

Properties

_angle: rsx.Degree
_arc: rsx.Degree
_length: number
_radius: number
_thickness: number

Accessors

  • get arc(): rsx.Degree
  • Angular portion of the cone from which to emit particles from, in degrees.

    Returns rsx.Degree

  • set arc(value): void
  • Parameters

    Returns void

  • get length(): number
  • Length of the cone. Irrelevant if emission type is Base.

    Returns number

  • set length(value): void
  • Parameters

    • value: number

    Returns void

  • get radius(): number
  • Radius of the cone base.

    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 cone, 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