docs.unity3d.com

Input System 1.8.2

Search Results for

    Show / Hide Table of Contents

    Enum VirtualMouseInput.CursorMode

    Determines how the cursor for the virtual mouse is represented.

    Namespace: UnityEngine.InputSystem.UI
    Assembly: Unity.InputSystem.dll
    Syntax
    public enum VirtualMouseInput.CursorMode

    Fields

    Name Description
    HardwareCursorIfAvailable

    If a native Mouse device is present, its cursor will be used and driven by the virtual mouse using WarpCursorPosition(Vector2). The software cursor referenced by cursorGraphic will be disabled.

    Note that if no native Mouse is present, behavior will fall back to SoftwareCursor.

    SoftwareCursor

    The cursor is represented as a UI element. See cursorGraphic.

    See Also
    cursorMode
    In This Article
    • Fields
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)