csharp
public readonly record struct VfxSpawnerRowOne spawner, as a build writes it.
Remarks
VfxSpawner's content form. The runtime type is a positional record struct, which the serializer generator cannot emit for — it wants a parameterless constructor and init members, which is what every row in this file is. See VfxEffectContent for why the mirror is worth the duplication.
Fields and properties (5)
public VfxSpawnerKind KindWhether it bursts or trickles.
public float RateParticles a second, for a rate spawner.
public int CountHow many each time, for a burst.
public float TimeWhen the first burst is, in seconds.
public float IntervalHow often it repeats. Zero or less bursts once.
Methods (3)
public VfxSpawnerRow()An empty spawner, for the serializer.
public VfxSpawner ToSpawner()This row as the runtime spawner.
public static VfxSpawnerRow From(in VfxSpawner spawner)One runtime spawner as a row.
Used by (4)
- TypeRegistrationVixen.Rendering
- VfxEffectContentVixen.Rendering
- Vixen_Rendering_Vfx_VfxEffectContentSerializerVixen.Rendering
- Vixen_Rendering_Vfx_VfxSpawnerRowSerializerVixen.Rendering