docs.unity3d.com
    Show / Hide Table of Contents

    Constructor VariableRateManager

    VariableRateManager(UInt32, Boolean)

    Construct a RateUtils.VariableRateManager with a given Millisecond update rate.

    Declaration
    public VariableRateManager(uint updateRateInMS = 66U, bool pushToWorld = true)
    Parameters
    Type Name Description
    UInt32 updateRateInMS

    The update rate for the manager in Milliseconds, if the value is less then Unity.Entities.RateUtils.VariableRateManager.MinUpdateRateMS it will be set to it.

    Boolean pushToWorld

    Should TimeData be pushed onto the world? If systems inside of this group do not require the use of the Time, a minor performance gain can be made setting this to false.

    Remarks

    Utilizes an accumulator where when it exceeds the indicated tick count, triggers the update and resets the counter.

    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