Class MouseTracker | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class MouseTracker

    Inheritance
    System.Object
    MouseTracker
    Namespace: Unity.UIWidgets.gestures
    Syntax
    public class MouseTracker

    Constructors

    MouseTracker(PointerRouter, MouseDetectorAnnotationFinder)

    Declaration
    public MouseTracker(PointerRouter router, MouseDetectorAnnotationFinder annotationFinder)
    Parameters
    Type Name Description
    PointerRouter router
    MouseDetectorAnnotationFinder annotationFinder

    Fields

    _trackedAnnotations

    Declaration
    public readonly Dictionary<MouseTrackerAnnotation, _TrackedAnnotation> _trackedAnnotations
    Field Value
    Type Description
    System.Collections.Generic.Dictionary<MouseTrackerAnnotation, _TrackedAnnotation>

    annotationFinder

    Declaration
    public readonly MouseDetectorAnnotationFinder annotationFinder
    Field Value
    Type Description
    MouseDetectorAnnotationFinder

    Properties

    mouseIsConnected

    Declaration
    public bool mouseIsConnected { get; }
    Property Value
    Type Description
    System.Boolean

    Methods

    attachAnnotation(MouseTrackerAnnotation)

    Declaration
    public void attachAnnotation(MouseTrackerAnnotation annotation)
    Parameters
    Type Name Description
    MouseTrackerAnnotation annotation

    collectMousePositions()

    Declaration
    public void collectMousePositions()

    detachAnnotation(MouseTrackerAnnotation)

    Declaration
    public void detachAnnotation(MouseTrackerAnnotation annotation)
    Parameters
    Type Name Description
    MouseTrackerAnnotation annotation
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023