ParticleHelper

This class is made for on one-liner static method to help creating particle systems.

Hierarchy

  • ParticleHelper

Index

Methods

Methods

Static CreateAsync

  • This is the main static method (one-liner) of this helper to create different particle systems.

    Parameters

    • type: string

      This string represents the type to the particle system to create

    • emitter: AbstractMesh

      The object where the particle system will start to emit from.

    • Optional scene: Nullable<Scene>

      The scene where the particle system should live.

    • Optional gpu: boolean

      If the system will use gpu.

    Returns Promise<ParticleSystem>

    the ParticleSystem created.

Generated using TypeDoc