Skip to content

particle.CreateGroup

Jérôme Leclercq edited this page Dec 8, 2020 · 2 revisions

API: particle.CreateGroup

Description:

Creates a new particle group.

Allowed particle types:

  • "billboard2d": Regular particles that always face the camera.

Prototype:

particle.CreateGroup(maxParticleCount: integer, particleType: string) -> group: ParticleGroup

Parameters:

  1. maxParticleCount: A maximum count of particles that will be handled by this group.
  2. particleType: The type of particle to create.

Returns:

  1. group: The newly created ParticleGroup.
Clone this wiki locally