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

    Class ParticleGPUSimulationSettings

    Settings used for controlling particle system GPU simulation.

    Index
    • get drag(): number

      Amount of resistance to apply in the direction opposite of the particle's velocity.

      Returns number

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