docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class RateUtils.FixedRateSimpleManager

    Implements a rate manager that updates the group exactly once per presentation frame, but uses a constant timestep instead of the actual elapsed time since the previous frame.

    Inheritance
    object
    RateUtils.FixedRateSimpleManager
    Implements
    IRateManager
    Namespace: Unity.Entities
    Assembly: Unity.Entities.dll
    Syntax
    public class RateUtils.FixedRateSimpleManager : IRateManager
    Remarks

    With this rate manager, the simulation will always tick at a constant timestep per rendered frame, even if the actual per-frame time is variable. This provides more consistent and more deterministic performance, and avoids issues stemming from the occasional extremely long or short frame. However, animations may start to appear jerky if the presentation time is consistently different from the fixed timestep. This mode is best suited for applications that reliably run very close to the specified fixed timestep, and want the extra consistency of a constant timestep instead of the usual slight variations.

    Constructors

    Name Description
    FixedRateSimpleManager(float)

    Construct a new instance

    Properties

    Name Description
    Timestep

    The timestep since the previous group update (in seconds).

    Methods

    Name Description
    ShouldGroupUpdate(ComponentSystemGroup)

    Determines whether a system group should proceed with its update, and also how many times it should update per frame.

    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)