Vixen
02b45cc4
csharp
public struct AudioClipRef

Which clip an AudioSource plays.

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

Remarks

A managed component, because a clip is a reference type — the case docs/plan/04 names when it explains why managed components exist. Separate from AudioSource so that the settings stay in the chunk and only the clip pays for the indirection.

Fields and properties (1)

  • public AudioClip? Clip

    The clip. A source with none plays nothing and is not an error.

Used by (7)

  • AudioEventSystemTestsVixen.Audio.Tests
  • AudioSystemVixen.Audio
  • AudioSystemTestsVixen.Audio.Tests
  • ComponentRegistrationVixen.Audio
  • TypeRegistrationVixen.Audio
  • Vixen_Audio_Ecs_AudioClipRefSerializerVixen.Audio
  • MaterialIconsVixen.Editor.App