AudioInfluencerController Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Class which supports components implementing IAudioInfluencer being used with audio sources.
public ref class AudioInfluencerController : UnityEngine::MonoBehaviour
[UnityEngine.AddComponentMenu("Scripts/MRTK/SDK/AudioInfluencerController")]
[UnityEngine.DisallowMultipleComponent]
[UnityEngine.RequireComponent(typeof(UnityEngine.AudioSource))]
public class AudioInfluencerController : UnityEngine.MonoBehaviour
[<UnityEngine.AddComponentMenu("Scripts/MRTK/SDK/AudioInfluencerController")>]
[<UnityEngine.DisallowMultipleComponent>]
[<UnityEngine.RequireComponent(typeof(UnityEngine.AudioSource))>]
type AudioInfluencerController = class
inherit MonoBehaviour
Public Class AudioInfluencerController
Inherits MonoBehaviour
- Inheritance
-
UnityEngine.MonoBehaviourAudioInfluencerController
- Attributes
-
UnityEngine.AddComponentMenuAttribute UnityEngine.DisallowMultipleComponentAttribute UnityEngine.RequireComponentAttribute
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.
Neutral |
Frequency above the nominal range of human hearing. |
Neutral |
Frequency below the nominal range of human hearing. |
Max |
|
Native |
Gets or sets the native high pass cutoff frequency for the sound emitter. |
Native |
Gets or sets the native low pass cutoff frequency for the sound emitter. |
Update |
Продукт | Версии |
---|---|
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 |