Search Results for

    Show / Hide Table of Contents

    Class TimeSettings

    Time and game simulation settings container.

    Inheritance
    System.Object
    SettingsBase
    TimeSettings
    Namespace: FlaxEditor.Content.Settings
    Assembly: FlaxEngine.CSharp.dll
    Syntax
    public sealed class TimeSettings : SettingsBase

    Constructors

    TimeSettings()

    Initializes a new instance of the TimeSettings.

    Declaration
    public 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

    Extension Methods

    Extensions.ReflectiveCompare<T>(T, T)
    Extensions.DeepClone<T>(T)
    Extensions.RawClone<T>(T)
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat