The data-driven counterpart of Sound: it plays an SfxDefinition (or the id of one in a
bank) through a backend, with the same play(gain, pitch) shape so a SoundSource can
attenuate it, and a pan on top. It applies the definition's retrigger rule, asks the shared
arbiter for a voice, fires the caption, and hands the backend a deterministic seed.
The data-driven counterpart of
Sound: it plays anSfxDefinition(or the id of one in a bank) through a backend, with the sameplay(gain, pitch)shape so aSoundSourcecan attenuate it, and a pan on top. It applies the definition's retrigger rule, asks the shared arbiter for a voice, fires the caption, and hands the backend a deterministic seed.Example