Class TimeSettings
Time and game simulation settings container.
Namespace: FlaxEditor.Content.Settings
Assembly: FlaxEngine.CSharp.dll
Syntax
public sealed class TimeSettings : SettingsBase
Constructors
TimeSettings()
Fields
DrawFPS
The target amount of the frames rendered per second (actual game FPS).
Declaration
[EditorOrder(3)]
[Limit(0F, 1000F, 1F)]
[EditorDisplay("General", "Draw FPS")]
public float DrawFPS
Field Value
System.Single
|
MaxUpdateDeltaTime
The maximum allowed delta time (in seconds) for the game logic update step.
Declaration
[EditorOrder(20)]
[Limit(0.1F, 1000F, 0.01F)]
[EditorDisplay("General", null)]
public float MaxUpdateDeltaTime
Field Value
System.Single
|
PhysicsFPS
The target amount of the physics simulation updates per second (also fixed updates frequency).
Declaration
[EditorOrder(2)]
[Limit(0F, 1000F, 1F)]
[EditorDisplay("General", "Physics FPS")]
public float PhysicsFPS
Field Value
System.Single
|
TimeScale
The game time scale factor. Default is 1.
Declaration
[EditorOrder(10)]
[Limit(0F, 1000F, 0.1F)]
[EditorDisplay("General", null)]
public float TimeScale
Field Value
System.Single
|
UpdateFPS
The target amount of the game logic updates per second (script updates frequency).
Declaration
[EditorOrder(1)]
[Limit(0F, 1000F, 1F)]
[EditorDisplay("General", "Update FPS")]
public float UpdateFPS
Field Value
System.Single
|