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

    Class Pointer

    A device that can point at and click on things.

    Inheritance
    Object
    InputControlProvider
    InputDevice
    Pointer
    Mouse
    Touchscreen
    Inherited Members
    InputDevice.ProcessEvent(InputEvent)
    InputDevice.RemapEvent(InputEvent)
    InputDevice.connected
    InputDevice.profile
    InputDevice.tagIndex
    InputDevice.deviceName
    InputDevice.deviceIndex
    InputDevice.assignment
    InputDevice.ToString()
    InputControlProvider.controlDataList
    InputControlProvider.state
    InputControlProvider.active
    InputControlProvider.SetControls(List<InputControlData>)
    InputControlProvider.GetControlData(Int32)
    InputControlProvider.controlCount
    InputControlProvider.Item[Int32]
    InputControlProvider.Item[String]
    InputControlProvider.GetPrimarySourceName(Int32, String)
    InputControlProvider.SetControlNameOverride(Int32, String)
    InputControlProvider.lastEventTime
    Namespace: UnityEngine.InputNew
    Syntax
    public class Pointer : InputDevice

    Constructors

    Pointer()

    Declaration
    public Pointer()

    Pointer(String, List<InputControlData>)

    Declaration
    protected Pointer(string deviceName, List<InputControlData> additionalControls)
    Parameters
    Type Name Description
    String deviceName
    List<InputControlData> additionalControls

    Properties

    current

    Declaration
    public static Pointer current { get; }
    Property Value
    Type Description
    Pointer

    cursor

    Declaration
    public Cursor cursor { get; protected set; }
    Property Value
    Type Description
    Cursor

    position

    Declaration
    public Vector3 position { get; }
    Property Value
    Type Description
    Vector3

    pressure

    Declaration
    public float pressure { get; }
    Property Value
    Type Description
    Single

    Methods

    ProcessEventIntoState(InputEvent, InputState)

    Declaration
    public override bool ProcessEventIntoState(InputEvent inputEvent, InputState intoState)
    Parameters
    Type Name Description
    InputEvent inputEvent
    InputState intoState
    Returns
    Type Description
    Boolean
    Overrides
    InputDevice.ProcessEventIntoState(InputEvent, InputState)
    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