VariableAmbientSoundState :: struct
| name | :: string | Name has to be unique across all states. |
Name has to be unique across all states. | ||
| type optional | :: VariableAmbientSoundStateType | |
| next_state optional | :: string | Cannot be defined if |
Cannot be defined if | ||
| next_states optional | :: array[VariableAmbientSoundNextStateItem] | Cannot be defined if |
Cannot be defined if | ||
| next_state_trigger optional | :: VariableAmbientSoundNextStateTrigger | Mandatory if there is more than one state or if the only state transitions to itself. [...] |
Mandatory if there is more than one state or if the only state transitions to itself. [...] | ||
| next_state_layers_finished_layers optional | :: array[string] | List of name of layers used to trigger state transition. [...] |
List of name of layers used to trigger state transition. [...] | ||
| state_duration_seconds optional | :: uint32 | Defines for how long this state will be active. [...] |
Defines for how long this state will be active. [...] | ||
| layers_properties optional | :: array[VariableAmbientSoundLayerStateProperties] | Must contain as many items as there is layers in the variable track. [...] |
Must contain as many items as there is layers in the variable track. [...] | ||
| start_pause optional | :: RandomRange | Pause before a layer starts playing. [...] |
Pause before a layer starts playing. [...] | ||
| end_pause optional | :: RandomRange | Pause before a layer finishes playing. [...] |
Pause before a layer finishes playing. [...] | ||
| number_of_enabled_layers optional | :: RandomRange | Defines how many layers will be playing. [...] |
Defines how many layers will be playing. [...] | ||


