Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents a set of particle systems working together to create a specific effect

Hierarchy

  • ParticleSystemSet

Implements

Index

Constructors

Properties

systems: IParticleSystem[]

Gets the particle system list

BaseAssetsUrl: string

Gets or sets base Assets URL

Accessors

  • Gets or sets the emitter node used with this set

    Returns Nullable<AbstractMesh | Vector3>

  • Gets or sets the emitter node used with this set

    Parameters

    Returns void

Methods

  • dispose(): void
  • Release all associated resources

    Returns void

  • serialize(serializeTexture?: boolean): any
  • Serialize the set into a JSON compatible object

    Parameters

    • Optional serializeTexture: boolean

      defines if the texture must be serialized as well

    Returns any

    a JSON compatible representation of the set

  • setEmitterAsSphere(options: { color: Color3; diameter: number; segments: number }, renderingGroupId: number, scene: Scene): void
  • Creates a new emitter mesh as a sphere

    Parameters

    • options: { color: Color3; diameter: number; segments: number }

      defines the options used to create the sphere

      • color: Color3
      • diameter: number
      • segments: number
    • renderingGroupId: number

      defines the renderingGroupId to use for the sphere

    • scene: Scene

      defines the hosting scene

    Returns void

  • Starts all particle systems of the set

    Parameters

    • Optional emitter: AbstractMesh

      defines an optional mesh to use as emitter for the particle systems

    Returns void

  • Parse a new ParticleSystemSet from a serialized source

    Parameters

    • data: any

      defines a JSON compatible representation of the set

    • scene: Scene

      defines the hosting scene

    • Optional gpu: boolean

      defines if we want GPU particles or CPU particles

    • Optional capacity: number

      defines the system capacity (if null or undefined the sotred capacity will be used)

    Returns ParticleSystemSet

    a new ParticleSystemSet

Legend

  • Constructor
  • Property
  • Method
  • Accessor
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Property
  • Method
  • Static property
  • Static method

Settings

Theme