docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Property ClampPartialTicksThreshold

    ClampPartialTicksThreshold

    On the client, Netcode attempts to align its own fixed step with the render refresh rate, with the goal of reducing Partial ticks, and increasing stability. Defaults to 5 (5%), which is applied each way: I.e. If you're within 5% of the last full tick, or if you're within 5% of the next full tick, we'll clamp. -1 is 'turn clamping off', 0 is 'use default'. Max value is 50 (i.e. 50% each way, leading to full clamping, as it's applied in both directions).

    Declaration
    public int ClampPartialTicksThreshold { get; set; }
    Property Value
    Type Description
    int
    Remarks

    High values will lead to more aggressive alignment, which may be perceivable (as we'll need to shift time further).

    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)