Class InputEventTrace | Package Manager UI website
docs.unity.cn
    Show / Hide Table of Contents

    Class InputEventTrace

    Inheritance
    System.Object
    InputEventTrace
    Namespace: UnityEngine.Experimental.Input.LowLevel
    Syntax
    public class InputEventTrace : IDisposable, IEnumerable<InputEventPtr>

    Constructors

    InputEventTrace(Int32)

    Declaration
    public InputEventTrace(int bufferSize = 1048576)
    Parameters
    Type Name Description
    System.Int32 bufferSize

    Fields

    kDefaultBufferSize

    Declaration
    public const int kDefaultBufferSize = 1048576
    Field Value
    Type Description
    System.Int32

    Properties

    deviceId

    Declaration
    public int deviceId { get; set; }
    Property Value
    Type Description
    System.Int32

    enabled

    Declaration
    public bool enabled { get; }
    Property Value
    Type Description
    System.Boolean

    Methods

    Clear()

    Declaration
    public void Clear()

    Disable()

    Declaration
    public void Disable()

    Dispose()

    Declaration
    public void Dispose()

    Enable()

    Declaration
    public void Enable()

    Finalize()

    Declaration
    protected void Finalize()

    GetEnumerator()

    Declaration
    public IEnumerator<InputEventPtr> GetEnumerator()
    Returns
    Type Description
    IEnumerator<InputEventPtr>

    GetNextEvent(ref InputEventPtr)

    Declaration
    public bool GetNextEvent(ref InputEventPtr current)
    Parameters
    Type Name Description
    InputEventPtr current
    Returns
    Type Description
    System.Boolean

    Events

    onEvent

    Declaration
    public event Action<InputEventPtr> onEvent
    Event Type
    Type Description
    Action<InputEventPtr>
    Back to top Copyright © 2015-2018 Unity
    Generated by DocFX