docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum AxisControl.Clamp

    Clamping behavior for an axis control.

    Namespace: UnityEngine.InputSystem.Controls
    Assembly: Unity.InputSystem.dll
    Syntax
    public enum AxisControl.Clamp

    Fields

    Name Description
    AfterNormalize

    Clamp values to clampMin and clampMax after normalizing the value.

    BeforeNormalize

    Clamp values to clampMin and clampMax before normalizing the value.

    None

    Do not clamp values.

    ToConstantBeforeNormalize

    Clamp values any value below clampMin or above clampMax to clampConstant before normalizing the value.

    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)