Table of Contents

Class ParticlesSettings

Namespace
Velvet
Assembly
Velvet.Docs.dll

The particle effect a Particles element simulates and draws: the source effect (a prefab's ParticleSystem — the framework instantiates a hidden simulation host from it and owns that instance), the play trigger, and the world-unit → element-pixel mapping. The constructor fail-fasts on a non-positive or NaN mapping so every construction path shares one guard; a with expression bypasses it like any record init.

public sealed record ParticlesSettings
Inheritance
object
ParticlesSettings

Constructors

ParticlesSettings(ParticleSystem?, PlayTrigger, float)

Properties

Effect
PixelsPerUnit
PlayOn