ParelVRDocs
Player site

Scripting / Reference

Particles

Types in the ParelVR.Volt.Particles namespace.

VoltParticleSystem#

ParelVR.Volt.Particles.VoltParticleSystem reference extends VoltComponent

A particle system on a world object.

Properties#

bool IsEmitting { get; }

True while the system is emitting new particles.

bool IsPlaying { get; }

True while the system is running.

int ParticleCount { get; }

Number of particles alive right now.

Methods#

void Clear()

Removes every particle at once.

void Emit(int count)

Emits a number of particles now. At most 1000 per call.

void Pause()

Freezes the system and its children.

void Play()

Starts the system and its children.

void Stop()

Stops emitting; particles that are alive finish their life.