Class RayInputModule.MouseButtonRayEventData | Unity Reflect | 1.0.0-preview.11
docs.unity3d.com
    Show / Hide Table of Contents

    Class RayInputModule.MouseButtonRayEventData

    Information about a mouse button event.

    Inheritance
    Object
    RayInputModule.MouseButtonRayEventData
    Namespace: UnityEngine.EventSystems
    Syntax
    protected class MouseButtonRayEventData

    Fields

    buttonData

    Pointer data associated with the mouse event.

    Declaration
    public RayEventData buttonData
    Field Value
    Type Description
    RayEventData

    buttonState

    The state of the button this frame.

    Declaration
    public PointerEventData.FramePressState buttonState
    Field Value
    Type Description
    PointerEventData.FramePressState

    Methods

    PressedThisFrame()

    Was the button pressed this frame?

    Declaration
    public bool PressedThisFrame()
    Returns
    Type Description
    Boolean

    ReleasedThisFrame()

    Was the button released this frame?

    Declaration
    public bool ReleasedThisFrame()
    Returns
    Type Description
    Boolean
    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