mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    Show / Hide Table of Contents

    Class InteractableHighlight

    Adds or removes materials to target renderer for highlighting Focused GameObjects.

    Inheritance
    Object
    InteractableHighlight
    Implements
    BaseFocusHandler
    Namespace: Microsoft.MixedReality.Toolkit.UI
    Assembly: cs.temp.dll.dll
    Syntax
    [Obsolete("This component is no longer supported", true)]
    [Obsolete("This component is no longer supported", true)]
    public class InteractableHighlight : BaseFocusHandler, BaseFocusHandler
    Remarks

    Useful with focusable GameObjects

    Properties

    Highlight

    Declaration
    public bool Highlight { get; set; }
    Property Value
    Type Description
    Boolean

    Highlight

    Declaration
    public bool Highlight { get; set; }
    Property Value
    Type Description
    Boolean

    Style

    Declaration
    public InteractableHighlight.HighlightedMaterialStyle Style { set; }
    Property Value
    Type Description
    InteractableHighlight.HighlightedMaterialStyle

    Style

    Declaration
    public InteractableHighlight.HighlightedMaterialStyle Style { set; }
    Property Value
    Type Description
    InteractableHighlight.HighlightedMaterialStyle

    TargetRenderers

    The target renderers that will get the styles applied.

    Declaration
    public Renderer[] TargetRenderers { set; }
    Property Value
    Type Description
    Renderer[]

    TargetRenderers

    The target renderers that will get the styles applied.

    Declaration
    public Renderer[] TargetRenderers { set; }
    Property Value
    Type Description
    Renderer[]

    Methods

    OnDisable()

    Declaration
    public virtual void OnDisable()

    OnDisable()

    Declaration
    public virtual void OnDisable()

    OnEnable()

    Declaration
    public virtual void OnEnable()

    OnEnable()

    Declaration
    public virtual void OnEnable()

    OnFocusEnter(FocusEventData)

    Declaration
    public override void OnFocusEnter(FocusEventData eventData)
    Parameters
    Type Name Description
    FocusEventData eventData

    OnFocusEnter(FocusEventData)

    Declaration
    public override void OnFocusEnter(FocusEventData eventData)
    Parameters
    Type Name Description
    FocusEventData eventData

    OnFocusExit(FocusEventData)

    Declaration
    public override void OnFocusExit(FocusEventData eventData)
    Parameters
    Type Name Description
    FocusEventData eventData

    OnFocusExit(FocusEventData)

    Declaration
    public override void OnFocusExit(FocusEventData eventData)
    Parameters
    Type Name Description
    FocusEventData eventData

    Implements

    BaseFocusHandler
    In This Article
    • Properties
      • Highlight
      • Highlight
      • Style
      • Style
      • TargetRenderers
      • TargetRenderers
    • Methods
      • OnDisable()
      • OnDisable()
      • OnEnable()
      • OnEnable()
      • OnFocusEnter(FocusEventData)
      • OnFocusEnter(FocusEventData)
      • OnFocusExit(FocusEventData)
      • OnFocusExit(FocusEventData)
    • Implements
    Back to top Generated by DocFX