We've moved!

Starting from MRTK 2.6, we are publishing both conceptual docs and API references on docs.microsoft.com. For conceptual docs, please visit our new landing page. For API references, please visit the MRTK-Unity section of the dot net API explorer. Existing content will remain here but will not be updated further.

Search Results for

    Show / Hide Table of Contents

    Class CanvasUtility

    Helper class for setting up canvases for use in the MRTK.

    Inheritance
    Object
    CanvasUtility
    Implements
    IMixedRealityPointerHandler
    IEventSystemHandler
    Namespace: Microsoft.MixedReality.Toolkit.Input.Utilities
    Assembly: cs.temp.dll.dll
    Syntax
    public class CanvasUtility : MonoBehaviour, IMixedRealityPointerHandler, IEventSystemHandler

    Methods

    OnPointerClicked(MixedRealityPointerEventData)

    Declaration
    public void OnPointerClicked(MixedRealityPointerEventData eventData)
    Parameters
    Type Name Description
    MixedRealityPointerEventData eventData

    OnPointerDown(MixedRealityPointerEventData)

    Declaration
    public void OnPointerDown(MixedRealityPointerEventData eventData)
    Parameters
    Type Name Description
    MixedRealityPointerEventData eventData

    OnPointerDragged(MixedRealityPointerEventData)

    Declaration
    public void OnPointerDragged(MixedRealityPointerEventData eventData)
    Parameters
    Type Name Description
    MixedRealityPointerEventData eventData

    OnPointerUp(MixedRealityPointerEventData)

    Declaration
    public void OnPointerUp(MixedRealityPointerEventData eventData)
    Parameters
    Type Name Description
    MixedRealityPointerEventData eventData

    Implements

    IMixedRealityPointerHandler
    IEventSystemHandler
    In This Article
    Back to top Generated by DocFX