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

    Class ParticleGravityOptions

    Structure used for initializing a ParticleGravity object.

    Index
    • get scale(): number

      Scale which to apply to the gravity value retrieved from the physics sub-system.

      Returns number

    • set scale(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.