csharp
public readonly record struct VfxSpawnerOne reason particles appear.
Fields and properties (5)
public VfxSpawnerKind KindWhether it bursts or trickles.
public float RateFor Rate: particles per second.
public int CountFor Burst: how many each time.
public float TimeFor Burst: when the first one is, in seconds.
public float IntervalFor Burst: how often it repeats. Zero or less bursts once.
Methods (4)
public VfxSpawner(VfxSpawnerKind Kind, float Rate = 0, int Count = 0, float Time = 0, float Interval = 0)One reason particles appear.
public static VfxSpawner AtRate(float perSecond)A steady stream.
public static VfxSpawner Burst(int count, float time = 0)A one-off burst.
public static VfxSpawner Repeating(int count, float interval, float time = 0)A burst that repeats.
Used by (27)
- SweepBenchmarksVixen.Benchmarks.Vfx
- ParticleLightTestsVixen.Rendering.Tests
- ParticleRenderFeatureTestsVixen.Rendering.Tests
- ParticleSpriteDeviceTestsVixen.Graphics.Golden.Tests
- SourceVixen.Rendering.Tests
- VfxAgreementTestsVixen.Vfx.Gpu.Tests
- VfxCollisionTestsVixen.Vfx.Tests
- VfxCompiledGraphVixen.Vfx
- VfxCompiledGraphTestsVixen.Vfx.Tests
- VfxCustomAttributeTestsVixen.Vfx.Tests
- VfxEffectContentVixen.Rendering
- VfxEffectContentTestsVixen.Rendering.Tests
- VfxForceTestsVixen.Vfx.Tests
- VfxGeometryTestsVixen.Vfx.Tests
- VfxParallelTestsVixen.Vfx.Tests
- VfxReapTestsVixen.Vfx.Gpu.Tests
- VfxRibbonTestsVixen.Vfx.Tests
- VfxShaderEmitterTestsVixen.Vfx.Tests
- VfxShaderUniformTestsVixen.Vfx.Tests
- VfxSortTestsVixen.Vfx.Gpu.Tests
- VfxSpawnerRowVixen.Rendering
- VfxSubEmitterTestsVixen.Vfx.Tests
- VfxSystemVixen.Vfx
- VfxSystemTestsVixen.Vfx.Tests
- BurstNodeVixen.Editor.VfxGraph
- RateNodeVixen.Editor.VfxGraph
- VfxGraphBuilderVixen.Editor.VfxGraph