文档

Unity Engine

Unity Engine

captureDeltaTimeRational

Slows your application’s playback time to allow Unity to save screenshots in between frames.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static RationalTime captureDeltaTimeRational { get; set; }

Remarks

Same as captureDeltaTime but using a RationalTime representation. The returned timeAsRational shares the same discretization increment value (TicksPerSecond). Setting it to a value of 0 or invalid restores the normal Unity time management.