ドキュメント

Unity Engine


User Manual

Script Reference

Unity Engine


GetTargetAudioSource(ushort)

Gets the AudioSource that will receive audio samples for the specified track if VideoPlayer.audioOutputMode is set to VideoAudioOutputMode.AudioSource.
読み終わるまでの所要時間 1 分最終更新 9日前

Definition

public AudioSource GetTargetAudioSource(ushort trackIndex)

Parameters

trackIndex

Index of the audio track for which the AudioSource is wanted.

Returns

Type

Description

AudioSourceThe source associated with the audio track.