Class HoloLensInput | Windows Mixed Reality | 3.0.6
docs.unity3d.com
    Show / Hide Table of Contents

    Class HoloLensInput

    Inheritance
    Object
    HoloLensInput
    Namespace: UnityEngine.EventSystems
    Syntax
    public class HoloLensInput : BaseInput

    Properties

    mousePosition

    Declaration
    public override Vector2 mousePosition { get; }
    Property Value
    Type Description
    Vector2

    mousePresent

    Declaration
    public override bool mousePresent { get; }
    Property Value
    Type Description
    Boolean

    mouseScrollDelta

    Declaration
    public override Vector2 mouseScrollDelta { get; }
    Property Value
    Type Description
    Vector2

    touchCount

    Declaration
    public override int touchCount { get; }
    Property Value
    Type Description
    Int32

    touchSupported

    Declaration
    public override bool touchSupported { get; }
    Property Value
    Type Description
    Boolean

    Methods

    AllowDrag()

    Declaration
    public bool AllowDrag()
    Returns
    Type Description
    Boolean

    Awake()

    Declaration
    protected override void Awake()

    GetMouseButton(Int32)

    Declaration
    public override bool GetMouseButton(int button)
    Parameters
    Type Name Description
    Int32 button
    Returns
    Type Description
    Boolean

    GetMouseButtonDown(Int32)

    Declaration
    public override bool GetMouseButtonDown(int button)
    Parameters
    Type Name Description
    Int32 button
    Returns
    Type Description
    Boolean

    GetMouseButtonUp(Int32)

    Declaration
    public override bool GetMouseButtonUp(int button)
    Parameters
    Type Name Description
    Int32 button
    Returns
    Type Description
    Boolean

    OnDestroy()

    Declaration
    protected override void OnDestroy()

    UpdateInput()

    Declaration
    public void UpdateInput()
    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