Vixen
02b45cc4
csharp
public record class AudioEventLayerAsset

Another event played alongside this one, as a file declares it.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

The layer is named rather than contained, because a tail is usually also played on its own — by a scripted moment, by a different weapon — and two copies of it would be two instance budgets that do not know about each other.

Fields and properties (5)

  • public string Event

    Which event, by name.

  • public float DelaySeconds

    How long after the parent it starts.

  • public float GainDb

    A level trim, on top of whatever the layer's own event says.

  • public float PitchSemitones

    A tuning trim, on top of whatever the layer's own event says.

  • public float Probability

    How often it happens at all, from 0 to 1.

Used by (6)

  • AudioEventAssetVixen.Audio
  • AudioEventBuilderVixen.Audio
  • LayeredEventTestsVixen.Audio.Tests
  • TypeRegistrationVixen.Audio
  • Vixen_Audio_Assets_AudioEventAssetSerializerVixen.Audio
  • Vixen_Audio_Assets_AudioEventLayerAssetSerializerVixen.Audio