Particle system factory

ParticleSystemFactory

2024.3.8

yisky

Constructors

Methods

Constructors

Methods

  • Create particle system by template data

    Parameters

    • entity: Entity

      Entity

    • template: {
          [key: string]: any;
      }

      template data

      • [key: string]: any

    Returns ParticleSystem

    ParticleSystemFactory

  • Load particle system by template url

    Parameters

    • entity: Entity

      Entity

    • url: string

      particle system url

    Returns Promise<ParticleSystem>

    ParticleSystemFactory