Audio: Set Channel Volume
Audio
Action
Media
Inputs
in | Exec | exec | multiplexed |
volume | Data | System.Single | None |
- Name
- in
- Kind
- Exec
- Type
- exec
- Flags
- multiplexed
- Name
- volume
- Kind
- Data
- Type
- System.Single
- Flags
- None
Outputs
out | Exec | exec | None |
- Name
- out
- Kind
- Exec
- Type
- exec
- Flags
- None
Parameters
channel | System.String | no | "Sfx" | Text-to-speech, Sound effects, Media |
- Name
- channel
- Type
- System.String
- Required
- no
- Default
- "Sfx"
- Choices
- Text-to-speech, Sound effects, Media
Lowers to C#
await ctx.Audio.SetChannelVolumeAsync(AudioChannel.Sfx, volume);