Прочетете на английски Редактиране

Споделяне чрез


AudioInfluencerController Class

Definition

Class which supports components implementing IAudioInfluencer being used with audio sources.

C++
public ref class AudioInfluencerController : UnityEngine::MonoBehaviour
Inheritance
UnityEngine.MonoBehaviour
AudioInfluencerController
Attributes
UnityEngine.AddComponentMenuAttribute UnityEngine.DisallowMultipleComponentAttribute UnityEngine.RequireComponentAttribute

Remarks

AudioInfluencerController requires an AudioSource component. If one is not attached, it will be added automatically. Each sound playing game object needs to have an AudioInfluencerController attached in order to have its audio influenced.

Constructors

Fields

NeutralHighFrequency

Frequency above the nominal range of human hearing.

NeutralLowFrequency

Frequency below the nominal range of human hearing.

Properties

MaxDistance
NativeHighPassCutoffFrequency

Gets or sets the native high pass cutoff frequency for the sound emitter.

NativeLowPassCutoffFrequency

Gets or sets the native low pass cutoff frequency for the sound emitter.

UpdateInterval

Applies to

Продукт Версии
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0