GetTargetAudioSource(ushort)
Gets the AudioSource that will receive audio samples for the specified track if VideoPlayer.audioOutputMode is set to VideoAudioOutputMode.AudioSource.
읽는 시간 1분최근 업데이트: 23일 전
Definition
- Type: Method
- Namespace: UnityEngine.Video
- Assembly: UnityEngine.VideoModule
public AudioSource GetTargetAudioSource(ushort trackIndex)
Parameters
Index of the audio track for which the AudioSource is wanted.
Returns
Type | Description |
|---|---|
| AudioSource | The source associated with the audio track. |