Class ParticleCircleShapeOptions

Information describing a ParticleEmitterCircleShape.

Hierarchy

  • FrameworkObject
    • ParticleCircleShapeOptions

Constructors

Properties

Accessors

Methods

Events

Constructors

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 radius(): number
  • Radius of the circle.

    Returns number

  • set radius(value): void
  • Parameters

    • value: number

    Returns void

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

    Returns number

  • set thickness(value): void
  • Parameters

    • value: number

    Returns void

Methods

  • Marks the object as dirty.

    Parameters

    Returns void

  • Allows modifying this object multiple times in a row in a scope, without marking the object dirty immediately. Dirty flags are accumulated and the object is marked dirty at the end.

    Parameters

    • action: (() => void)

      The scope where the object is modified.

        • (): void
        • Returns void

    Returns void

Events

onDirty: Event<[dirtyFlags: EnumValue<ManagedSettingsDirtyFlag, number>], void>

Event that is triggered when a member changes.