Struct InputMetrics | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Struct InputMetrics

    Provides information on the level of throughput going through the system.

    Inherited Members
    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.ValueType.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    Namespace: UnityEngine.Experimental.Input
    Syntax
    public struct InputMetrics

    Fields

    currentControlCount

    Declaration
    public int currentControlCount
    Field Value
    Type Description
    System.Int32

    currentLayoutCount

    Declaration
    public int currentLayoutCount
    Field Value
    Type Description
    System.Int32

    currentNumDevices

    Number of devices currently added to the system.

    Declaration
    public int currentNumDevices
    Field Value
    Type Description
    System.Int32

    currentStateSizeInBytes

    Total size of the combined state memory for all current devices.

    Declaration
    public int currentStateSizeInBytes
    Field Value
    Type Description
    System.Int32

    maxNumDevices

    Maximum number of devices that were concurrently added to the system.

    Declaration
    public int maxNumDevices
    Field Value
    Type Description
    System.Int32

    maxStateSizeInBytes

    The largest the combined state memory for all devices got.

    Declaration
    public int maxStateSizeInBytes
    Field Value
    Type Description
    System.Int32

    totalEventBytes

    Declaration
    public int totalEventBytes
    Field Value
    Type Description
    System.Int32

    totalEventCount

    Declaration
    public int totalEventCount
    Field Value
    Type Description
    System.Int32

    totalEventProcessingTime

    Declaration
    public double totalEventProcessingTime
    Field Value
    Type Description
    System.Double

    totalFrameCount

    Declaration
    public int totalFrameCount
    Field Value
    Type Description
    System.Int32

    Properties

    averageEventBytesPerFrame

    Declaration
    public float averageEventBytesPerFrame { get; }
    Property Value
    Type Description
    System.Single

    averageProcessingTimePerEvent

    Declaration
    public double averageProcessingTimePerEvent { get; }
    Property Value
    Type Description
    System.Double
    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