ProximityLight Class

Definition

Utility component to animate and visualize a light that can be used with the "MixedRealityToolkit/Standard" shader "_ProximityLight" feature.

C++
public ref class ProximityLight : UnityEngine::MonoBehaviour
Inheritance
UnityEngine.MonoBehaviour
ProximityLight
Attributes
UnityEngine.AddComponentMenuAttribute UnityEngine.ExecuteInEditModeAttribute UnityEngine.HelpURLAttribute

Constructors

Properties

Methods

Pulse(Single, Single, Single)

Initiates a pulse, if one is not already occurring, which simulates a user touching a surface.

Applies to

Produit Versions
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