docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum PenButton

    Enumeration of buttons on a Pen.

    Namespace: UnityEngine.InputSystem
    Assembly: Unity.InputSystem.dll
    Syntax
    public enum PenButton

    Fields

    Name Description
    Barrel1

    Synonym for BarrelFirst.

    Barrel2

    Synonym for BarrelSecond.

    Barrel3

    Synonym for BarrelThird.

    Barrel4

    Synonym for BarrelFourth.

    BarrelFirst

    First button on the side of the pen.

    BarrelFourth

    Fourth button on the side of the pen.

    BarrelSecond

    Second button on the side of the pen.

    BarrelThird

    Third button on the side of the pen.

    Eraser

    Button located end of pen opposite to Tip.

    InRange

    Artificial button that indicates whether the pen is in detection range or not.

    Tip

    Button at the tip of a pen.

    In This Article
    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)