Skip to content
API referenceDevelopmentRuntime scriptingEngine ccf7d03f
Synced
  • Creates an immutable emitter snapshot.

API: scripting
Project: Inno.Audio
Scope: Runtime

public InnoEngine.Audio.AudioEmitterSnapshot.AudioEmitterSnapshot(System.Guid id, InnoEngine.Audio.AudioClipAsset clip, InnoEngine.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.