文档

Unity Engine

Unity Engine

captureFramerate

The reciprocal of Time.captureDeltaTime.
阅读时间1 分钟最后更新于 1 天前

Definition

public static int captureFramerate { get; set; }

Remarks

captureFramerate is the equivalent of (1.0 / Time.captureDeltaTime) rounded to the nearest integer.
Setting captureFramerate also sets Time.captureDeltaTime to the equivalent inverse.
Note that a value of zero for captureFramerate is equivalent to value of zero for captureDeltaTime.