Class ParticlesSettings
- Namespace
- Velvet
- Assembly
- Velvet.Docs.dll
The particle effect a Particles element simulates and draws: the source effect (a prefab's
ParticleSystem, or a VFX Graph VisualEffect when no ParticleSystem is given — the framework
instantiates a hidden 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
-
objectParticlesSettings