docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Namespace UnityEngine.InputSystem.Processors

    Classes

    AxisDeadzoneProcessor

    Clamps values to the range given by min and max and re-normalizes the resulting value to [0..1].

    ClampProcessor

    Clamp a floating-point input to between min and max. This is equivalent to Mathf.Clamp(value, min, max).

    EditorWindowSpaceProcessor

    If Unity is currently in an EditorWindow callback, transforms a 2D coordinate from player window space into window space of the current EditorWindow.

    InvertProcessor

    An input processor that inverts its input value.

    InvertVector2Processor

    Inverts the x and/or y channel of a Vector2.

    InvertVector3Processor

    Inverts the x and/or y and/or z channel of a Vector3.

    NormalizeProcessor

    Normalizes input values in the range min and max to unsigned normalized form [0..1] if zero is placed at (or below) min or to signed normalized form [-1..1] if zero is placed in-between min and max.

    NormalizeVector2Processor

    Normalizes a Vector2 input value.

    NormalizeVector3Processor

    Normalizes a Vector3 input value.

    ScaleProcessor

    Scale a float value by a constant factor.

    ScaleVector2Processor

    Scale the components of a Vector2 by constant factors.

    ScaleVector3Processor

    Scale the components of a Vector3 by constant factors.

    StickDeadzoneProcessor

    Processes a Vector2 to apply deadzoning according to the magnitude of the vector (rather than just clamping individual axes). Normalizes to the min/max range.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)