Class GameLoopSettings

Namespace
SurvivorsMaker.Presentation
Assembly
SurvivorsMaker.Presentation.dll

Game Loop tuning; defaults are defined by the field initializers and can be overridden per game.

public sealed class GameLoopSettings
Inheritance
GameLoopSettings
Inherited Members

Constructors

GameLoopSettings()

public GameLoopSettings()

Fields

MaxFrameSeconds

Maximum frame seconds added to the fixed-tick accumulator; nonnegative.

[Tooltip("Maximum frame seconds added to the fixed-tick accumulator; nonnegative.")]
public float MaxFrameSeconds

Field Value

float

MaxSpeed

Maximum session speed multiplier; at least Min Speed, 1 = normal speed.

[Tooltip("Maximum session speed multiplier; at least Min Speed, 1 = normal speed.")]
public float MaxSpeed

Field Value

float

MaxTicksPerFrame

Maximum fixed simulation ticks processed in one rendered frame; positive.

[Tooltip("Maximum fixed simulation ticks processed in one rendered frame; positive.")]
public int MaxTicksPerFrame

Field Value

int

MinSpeed

[Tooltip("Slowest and fastest game speed (SurvivorsGame.Speed, the playtest panel). Speed scales the tick accumulator, never Time.timeScale.")]
public float MinSpeed

Field Value

float