Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Creates an immutable emitter snapshot.

API: engine
Project: Inno.Audio

public Inno.Audio.AudioEmitterSnapshot.AudioEmitterSnapshot(System.Guid id, Inno.Audio.AudioClipAsset clip, Inno.Audio.AudioPlayOptions options, bool shouldPlay, ulong playbackRevision = 0)

Parameter id: Stable emitter identity across updates.

Parameter clip: Imported clip requested by the emitter.

Parameter options: Current playback and spatial parameters.

Parameter shouldPlay: Whether the runtime should retain active playback for this emitter.

Parameter playbackRevision: Monotonic source-owned revision used to request a fresh voice for the same emitter.