docs.unity3d.com
    Show / Hide Table of Contents

    Enum AxisControl.Clamp

    Clamping behavior for an axis control.

    Namespace: UnityEngine.InputSystem.Controls
    Syntax
    public enum Clamp

    Fields

    Name Description Value
    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
    • Fields
    Back to top
    Terms of use
    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