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
    IgnoreControlsInCurrentState

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

    IgnoreControlsInDefaultState

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

    IncludeNoisyControls

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

    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).

    IncludeSyntheticControls

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

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