Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


TargetFramerate

The target frame rate for the dedicated server process. This is the rate at which the server processes frames.
Read time 1 minuteLast updated 7 days ago

Definition

public static int? TargetFramerate { get; set; }

Remarks

The target frame rate that Unity parses from the
-framerate
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
null
. When set, Unity applies this value to Application.targetFrameRate.
Additional Resources: Arguments.TargetFramerate.