TargetFramerate
The target frame rate for the dedicated server process. This is the rate at which the server processes frames.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine.DedicatedServer
- Assembly: UnityEngine.CoreModule
public static int? TargetFramerate { get; set; }
Remarks
The target frame rate that Unity parses from the command-line flag. If the flag isn't present, Unity uses the value from Dedicated Server Player settings. If no value is configured, this property returns . When set, Unity applies this value to Application.targetFrameRate.
-frameratenullAdditional Resources: Arguments.TargetFramerate.