RSX Code Reference
    Preparing search index...
    • rsx
    • ParticleConeShapeOptions

    Class ParticleConeShapeOptions

    Information describing a ParticleEmitterConeShape.

    Index
    • get arc(): rsx.Degree

      Angular portion of the cone from which to emit particles from, in degrees.

      Returns rsx.Degree

    • set arc(value: rsx.Degree): void

      Parameters

      Returns void

    • get length(): number

      Length of the cone. Irrelevant if emission type is Base.

      Returns number

    • set length(value: number): void

      Parameters

      • value: number

      Returns void

    • get radius(): number

      Radius of the cone base.

      Returns number

    • set radius(value: number): 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: number): void

      Parameters

      • value: number

      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.

      Returns void

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

    Event that is triggered when a member changes.