docs.unity.cn
    Show / Hide Table of Contents

    Struct InputEventTrace.DeviceInfo

    Information about a device whose input has been captured in an InputEventTrace

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Namespace: UnityEngine.InputSystem.LowLevel
    Syntax
    [Serializable]
    public struct DeviceInfo

    Properties

    deviceId

    Id of the device as stored in the events for the device.

    Declaration
    public int deviceId { get; set; }
    Property Value
    Type Description
    Int32
    See Also
    deviceId

    layout

    Name of the layout used by the device.

    Declaration
    public string layout { get; set; }
    Property Value
    Type Description
    String
    See Also
    layout

    stateFormat

    Tag for the format in which state for the device is stored.

    Declaration
    public FourCC stateFormat { get; set; }
    Property Value
    Type Description
    FourCC
    See Also
    stateBlock
    format

    stateSizeInBytes

    Size of a full state snapshot of the device.

    Declaration
    public int stateSizeInBytes { get; set; }
    Property Value
    Type Description
    Int32

    See Also

    deviceInfos
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Thursday, November 3, 2022
    Terms of use