csharp
public readonly record struct AudioEventVariantOne of the sounds an event can play, and how it differs from its siblings.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
The offsets exist because variants are recorded, not synthesised: four takes of a footstep arrive at four different levels, and correcting that in the asset is better than correcting it in the wav, which loses the original.
Fields and properties (4)
public AudioClip ClipThe audio.
public float WeightHow likely it is, against its siblings. Honoured by the random modes.
public float GainDbA level correction for this take alone.
public float PitchSemitonesA tuning correction for this take alone.
Methods (1)
public AudioEventVariant(AudioClip Clip)One of the sounds an event can play, and how it differs from its siblings.
Used by (5)
- AudioEventVixen.Audio
- AudioEventBuilderVixen.Audio
- AudioEventDescriptionVixen.Audio
- AudioEventSystemTestsVixen.Audio.Tests
- AudioEventTestsVixen.Audio.Tests