Unity3D圣典3.3版本-中文版
文集大纲加载中……
本文档使用 MrDoc 发布
-
+
首页
Time.maximumDeltaTime 最大增量时间
# [Time](Time.html).maximumDeltaTime 最大增量时间 static var *maximumDeltaTime* : float *Description* 描述 The maximum time a frame can take. Physics and other fixed frame rate updates (like MonoBehaviour's [FixedUpdate](../MonoBehaviour/MonoBehaviour.FixedUpdate.html)) 一帧能获得的最大时间。物理和其他固定帧速率更新(像 [FixedUpdate](../MonoBehaviour/MonoBehaviour.FixedUpdate.html))。 will be performed only for this duration of time per frame. 仅此每帧的持续时间将被执行。 Use this function to avoid low frame rate spikes occurring due to combination of GarbageCollector and expensive physics or other fixed frame rate updates. 使用这个函数避免低帧速率峰值发生由于垃圾收集器和昂贵的物理或其它固定帧速率更新。 If frame will take longer than specified value, then less physics and other fixed frame rate updates will be performed. That will temporarily slow down the gameplay, but will allow frame rate to catchup avoiding nasty stuttering. 如果帧获得的比给定的值长,那么就减少物理和其他固定帧速率更新将被执行,这将暂时减慢的游戏,但是允许帧速率追赶上,避免讨厌的时断时续。 It is advisable to keep maximum time for frame between 1/10th and 1/3th of a second. 这最好是帧保持最大时间在 1 秒的十分之一和三分之一之间。
da
2022年5月23日 14:36
转发文档
收藏文档
上一篇
下一篇
手机扫码
复制链接
手机扫一扫转发分享
复制链接
关于 MrDoc
觅思文档MrDoc
是
州的先生
开发并开源的在线文档系统,其适合作为个人和小型团队的云笔记、文档和知识库管理工具。
如果觅思文档给你或你的团队带来了帮助,欢迎对作者进行一些打赏捐助,这将有力支持作者持续投入精力更新和维护觅思文档,感谢你的捐助!
>>>捐助鸣谢列表
微信
支付宝
QQ
PayPal
Markdown文件
分享
链接
类型
密码
更新密码