ProximityLight 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.
Utility component to animate and visualize a light that can be used with the "MixedRealityToolkit/Standard" shader "_ProximityLight" feature.
public ref class ProximityLight : UnityEngine::MonoBehaviour
[UnityEngine.AddComponentMenu("Scripts/MRTK/Core/ProximityLight")]
[UnityEngine.ExecuteInEditMode]
[UnityEngine.HelpURL("https://docs.microsoft.com/windows/mixed-reality/mrtk-unity/features/rendering/proximity-light")]
public class ProximityLight : UnityEngine.MonoBehaviour
[<UnityEngine.AddComponentMenu("Scripts/MRTK/Core/ProximityLight")>]
[<UnityEngine.ExecuteInEditMode>]
[<UnityEngine.HelpURL("https://docs.microsoft.com/windows/mixed-reality/mrtk-unity/features/rendering/proximity-light")>]
type ProximityLight = class
inherit MonoBehaviour
Public Class ProximityLight
Inherits MonoBehaviour
- Inheritance
-
UnityEngine.MonoBehaviourProximityLight
- Attributes
-
UnityEngine.AddComponentMenuAttribute UnityEngine.ExecuteInEditModeAttribute UnityEngine.HelpURLAttribute
Constructors
ProximityLight() |
Properties
Settings |
Methods
Pulse(Single, Single, Single) |
Initiates a pulse, if one is not already occurring, which simulates a user touching a surface. |