Version: 2021.2

Time.maximumParticleDeltaTime

切换到手册
public static float maximumParticleDeltaTime ;

描述

帧可以在粒子更新上耗用的最长时间。如果帧耗用的时间超过该值,则将更新拆分为多个较小的更新。

使用该函数可在粒子模拟的准确性与性能目标之间取得平衡。

Using a small value gives higher quality particle simulations, but takes more processing time. Particle updates run multiple times at smaller time increments, if the frame time exceeds the threshold provided.

Conversely, a higher value ensures that particle simulations are not broken down into multiple steps per frame, giving the best performance, but loses simulation accuracy when using some of the more advanced particle simulation features.

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