docs.unity.cn
    Show / Hide Table of Contents

    Enum InputControlExtensions.Enumerate

    Flags that control which controls are returned by EnumerateControls(InputEventPtr, InputControlExtensions.Enumerate, InputDevice, Single).

    Namespace: UnityEngine.InputSystem
    Syntax
    [Flags]
    public enum Enumerate

    Fields

    Name Description Value
    IgnoreControlsInDefaultState

    Ignore controls whose value is at default (see ReadDefaultValue()).


    1
    IgnoreControlsInCurrentState

    Ignore controls whose value is the same as their current value (see ReadValue()).


    2
    IncludeSyntheticControls

    Include controls that are synthetic and/or use state from other other controls (see useStateFrom). These are excluded by default.


    4
    IncludeNoisyControls

    Include noisy controls (see noisy). These are excluded by default.


    8
    IncludeNonLeafControls

    For any leaf control returned by the enumeration, also return all the parent controls (see parent) in turn (but not the root InputDevice itself).


    16
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Saturday, May 27, 2023