Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#

VideoPlayer.SetDirectAudioVolume

public void SetDirectAudioVolume(ushort trackIndex, float volume);

Parameters

trackIndexTrack index for which the volume is set.
volumeNew volume, between 0 and 1.

Description

Set the direct-output audio volume for the specified track.

Did you find this page useful? Please give it a rating: