Version: 2020.3

Time.smoothDeltaTime

切换到手册
public static float smoothDeltaTime ;

描述

经过平滑处理的 Time.deltaTime(只读)。

This value is equal to Time.deltaTime when it is constant (i.e. smooth frame rate). When deltaTime varies between frames (e.g. on a frame hitch), this value increases or decreases gradually towards deltaTime over multiple frames.

See Time and Frame Rate Management in the User Manual for more information about how this property relates to the other Time properties.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961