AudioInfluencerController Class
Definition
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.
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.DisallowMultipleComponent]
[UnityEngine.RequireComponent(typeof(UnityEngine.AudioSource))]
public class AudioInfluencerController : UnityEngine.MonoBehaviour
[UnityEngine.DisallowMultipleComponent]
[UnityEngine.RequireComponent(typeof(UnityEngine.AudioSource))]
[UnityEngine.AddComponentMenu("MRTK/Audio/Audio Influencer Controller")]
public class AudioInfluencerController : UnityEngine.MonoBehaviour
[<UnityEngine.AddComponentMenu("Scripts/MRTK/SDK/AudioInfluencerController")>]
[<UnityEngine.DisallowMultipleComponent>]
[<UnityEngine.RequireComponent(typeof(UnityEngine.AudioSource))>]
type AudioInfluencerController = class
inherit MonoBehaviour
[<UnityEngine.DisallowMultipleComponent>]
[<UnityEngine.RequireComponent(typeof(UnityEngine.AudioSource))>]
type AudioInfluencerController = class
inherit MonoBehaviour
[<UnityEngine.DisallowMultipleComponent>]
[<UnityEngine.RequireComponent(typeof(UnityEngine.AudioSource))>]
[<UnityEngine.AddComponentMenu("MRTK/Audio/Audio Influencer Controller")>]
type AudioInfluencerController = class
inherit MonoBehaviour
Public Class AudioInfluencerController
Inherits MonoBehaviour
- Inheritance
-
UnityEngine.MonoBehaviourAudioInfluencerController
- 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 should have an AudioInfluencerController attached in order to have its audio properly influenced.
Constructors
| AudioInfluencerController() |
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 | |