docs.unity3d.com
    Show / Hide Table of Contents

    Struct InputControlExtensions.InputEventControlCollection

    Allows iterating over the controls referenced by an InputEvent via InputControlExtensions.InputEventControlEnumerator.

    Namespace: UnityEngine.InputSystem
    Syntax
    public struct InputEventControlCollection : IEnumerable<InputControl>

    Properties

    eventPtr

    The event being iterated over. A StateEvent or DeltaStateEvent.

    Declaration
    public InputEventPtr eventPtr { get; }
    Property Value
    Type Description
    InputEventPtr

    Methods

    GetEnumerator()

    Enumerate the controls in the event.

    Declaration
    public InputControlExtensions.InputEventControlEnumerator GetEnumerator()
    Returns
    Type Description
    InputControlExtensions.InputEventControlEnumerator

    An enumerator.

    See Also

    EnumerateControls(InputEventPtr, InputControlExtensions.Enumerate, InputDevice, Single)
    EnumerateChangedControls(InputEventPtr, InputDevice, Single)
    In This Article
    • Properties
      • eventPtr
    • Methods
      • GetEnumerator()
    • See Also
    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