babylon.quarks - v1.0.0
    Preparing search index...

    Type Alias StopAction

    StopAction: "none" | "disable" | "destroy"

    What a system does once it has finished, its emission over and its last particle dead (Unity's Stop Action):

    • 'none' (the default): nothing; ParticleSystem.restart plays it again.
    • 'disable': disables its emitter node (setEnabled(false)), and with it the nodes under it. A disabled system is not advanced or drawn; enable the emitter again before playing it.
    • 'destroy': disposes the system and its emitter, as ParticleSystem.dispose() does.

    Unity's Callback is the system's finished event, which fires whatever the stop action. The action waits for the system's sub emitters, see ParticleSystem.stopAction. A disabled emitter is state like any other: saved as not visible, and copied disabled by clone.