Class CreateSoundMixerEffectLoopDefinitionInput
Editor-only request describing the UnitySoundMixerEffectLoopDefinition asset to create after
the AudioMixer group itself has been built. Plain data carrier; validation lives in
UnitySoundMixerEffectLoopDefinitionFactory.
Inherited Members
Namespace: Serenity.SoundMixer.Infrastructure.AudioMixerEffectLoop.Editor.dto
Assembly: Serenity.UnitySoundMixer.Infrastructure.Editor.dll
Syntax
public class CreateSoundMixerEffectLoopDefinitionInput
Constructors
CreateSoundMixerEffectLoopDefinitionInput(AudioMixer, string, string, string, string, string, string, float, IReadOnlyList<string>, string, IReadOnlyList<SoundMixerEffectLoopSourceRoute>)
Creates a new definition-asset creation request.
Declaration
public CreateSoundMixerEffectLoopDefinitionInput(AudioMixer mixer, string audioMixerName, string loopGroupName, string receiveEffectName, string loopId, string displayName, string description, float defaultWet, IReadOnlyList<string> effectNames, string destinationFolder, IReadOnlyList<SoundMixerEffectLoopSourceRoute> sources = null)
Parameters
| Type | Name | Description |
|---|---|---|
| AudioMixer | mixer | |
| string | audioMixerName | |
| string | loopGroupName | |
| string | receiveEffectName | |
| string | loopId | |
| string | displayName | |
| string | description | |
| float | defaultWet | |
| IReadOnlyList<string> | effectNames | |
| string | destinationFolder | |
| IReadOnlyList<SoundMixerEffectLoopSourceRoute> | sources |
Fields
AudioMixerName
Name of the owning AudioMixer asset (diagnostics/runtime matching).
Declaration
public readonly string AudioMixerName
Field Value
| Type | Description |
|---|---|
| string |
DefaultWet
Default wet amount, normalized 0..1 (dry is the complement, 1 - wet).
Declaration
public readonly float DefaultWet
Field Value
| Type | Description |
|---|---|
| float |
Description
Optional human description.
Declaration
public readonly string Description
Field Value
| Type | Description |
|---|---|
| string |
DestinationFolder
Project-relative destination folder for the asset (e.g. "Assets/Audio/Loops"). Required.
Declaration
public readonly string DestinationFolder
Field Value
| Type | Description |
|---|---|
| string |
DisplayName
Human-readable display name (falls back to the loop group name when blank).
Declaration
public readonly string DisplayName
Field Value
| Type | Description |
|---|---|
| string |
EffectNames
Ordered internal effect names created inside the loop (for editor/debug visibility).
Declaration
public readonly IReadOnlyList<string> EffectNames
Field Value
| Type | Description |
|---|---|
| IReadOnlyList<string> |
LoopGroupName
The resolved loop group name as actually created in the mixer.
Declaration
public readonly string LoopGroupName
Field Value
| Type | Description |
|---|---|
| string |
LoopId
Unique id/key used by use cases and events to resolve this loop. Required, safe-name.
Declaration
public readonly string LoopId
Field Value
| Type | Description |
|---|---|
| string |
Mixer
The AudioMixer asset that owns the loop group. Required.
Declaration
public readonly AudioMixer Mixer
Field Value
| Type | Description |
|---|---|
| AudioMixer |
ReceiveEffectName
Internal name of the loop's head Receive effect (typically "Receive").
Declaration
public readonly string ReceiveEffectName
Field Value
| Type | Description |
|---|---|
| string |
Sources
Optional source routes (e.g. auto-wired sends) written as the definition's Sources.
Declaration
public readonly IReadOnlyList<SoundMixerEffectLoopSourceRoute> Sources
Field Value
| Type | Description |
|---|---|
| IReadOnlyList<SoundMixerEffectLoopSourceRoute> |