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

    Class PointerEvent

    Inheritance
    System.Object
    PointerEvent
    PointerAddedEvent
    PointerCancelEvent
    PointerDownEvent
    PointerEnterEvent
    PointerExitEvent
    PointerHoverEvent
    PointerMoveEvent
    PointerRemovedEvent
    PointerScrollEvent
    PointerUpEvent
    Namespace: Unity.UIWidgets.gestures
    Syntax
    public abstract class PointerEvent

    Constructors

    PointerEvent(TimeSpan, Int32, PointerDeviceKind, Int32, Offset, Offset, Boolean, Boolean)

    Declaration
    public PointerEvent(TimeSpan timeStamp, int pointer = 0, PointerDeviceKind kind = PointerDeviceKind.mouse, int device = 0, Offset position = null, Offset delta = null, bool down = false, bool synthesized = false)
    Parameters
    Type Name Description
    System.TimeSpan timeStamp
    System.Int32 pointer
    PointerDeviceKind kind
    System.Int32 device
    Offset position
    Offset delta
    System.Boolean down
    System.Boolean synthesized

    Fields

    delta

    Declaration
    public readonly Offset delta
    Field Value
    Type Description
    Offset

    device

    Declaration
    public int device
    Field Value
    Type Description
    System.Int32

    down

    Declaration
    public readonly bool down
    Field Value
    Type Description
    System.Boolean

    kind

    Declaration
    public PointerDeviceKind kind
    Field Value
    Type Description
    PointerDeviceKind

    pointer

    Declaration
    public readonly int pointer
    Field Value
    Type Description
    System.Int32

    position

    Declaration
    public readonly Offset position
    Field Value
    Type Description
    Offset

    synthesized

    Declaration
    public readonly bool synthesized
    Field Value
    Type Description
    System.Boolean

    timeStamp

    Declaration
    public readonly TimeSpan timeStamp
    Field Value
    Type Description
    System.TimeSpan
    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