Modifier

Partager via


HoverLight Class

Definition

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

public ref class HoverLight : UnityEngine::MonoBehaviour
[UnityEngine.AddComponentMenu("Scripts/MRTK/Core/HoverLight")]
[UnityEngine.ExecuteInEditMode]
[UnityEngine.HelpURL("https://docs.microsoft.com/windows/mixed-reality/mrtk-unity/features/rendering/hover-light")]
public class HoverLight : UnityEngine.MonoBehaviour
[<UnityEngine.AddComponentMenu("Scripts/MRTK/Core/HoverLight")>]
[<UnityEngine.ExecuteInEditMode>]
[<UnityEngine.HelpURL("https://docs.microsoft.com/windows/mixed-reality/mrtk-unity/features/rendering/hover-light")>]
type HoverLight = class
    inherit MonoBehaviour
Public Class HoverLight
Inherits MonoBehaviour
Inheritance
UnityEngine.MonoBehaviour
HoverLight
Attributes
UnityEngine.AddComponentMenuAttribute UnityEngine.ExecuteInEditModeAttribute UnityEngine.HelpURLAttribute

Constructors

HoverLight()

Properties

Color

Specifies the highlight color

Radius

Specifies the Radius of the HoverLight effect

Applies to