docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method DoRecentering

    DoRecentering(ref AxisState, float, float)

    Bring the axis back to the centered state (only if enabled).

    Declaration
    public void DoRecentering(ref AxisState axis, float deltaTime, float recenterTarget)
    Parameters
    Type Name Description
    AxisState axis

    The axis to recenter

    float deltaTime

    Current effective deltaTime

    float recenterTarget

    The value that is considered to be centered

    In This Article
    Back to top
    Copyright © 2023 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)