ドキュメント

Unity Engine

Unity Engine

GeneratorInstance.Setup

Information on the audio setup of the GeneratorInstance passed back to the instantiator from GeneratorInstance.IControl<TRealtime>.Configure.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public readonly struct GeneratorInstance.Setup

Remarks

Additional Resources: ControlContext.GetConfiguration

Fields

Value

Description

sampleRateDeclare the sample rate the output of this GeneratorInstance will be played at.
speakerModeDeclare the AudioSpeakerMode of this GeneratorInstance and by extension the number of channels this GeneratorInstance will use.

Constructors

Constructor

Description

Setup(UnityEngine.Audio.AudioFormat@)Create a new generator setup, deriving values from .
Setup(UnityEngine.AudioSpeakerMode,System.Int32)Create a new generator setup.