docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method GetHoveredInteractableMaterial

    GetHoveredInteractableMaterial(IXRHoverInteractable)

    Gets the material used to draw the given hovered Interactable.

    Declaration
    protected virtual Material GetHoveredInteractableMaterial(IXRHoverInteractable interactable)
    Parameters
    Type Name Description
    IXRHoverInteractable interactable

    The hovered Interactable to get the material for.

    Returns
    Type Description
    Material

    Returns the material Unity should use to draw the given hovered Interactable.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)