Table of Contents

Class Performance

Namespace
SimulationFramework
Assembly
SimulationFramework.dll

Provides performance-related information.

public static class Performance
Inheritance
Performance
Inherited Members

Fields

DefaultFramerateAverageCount

The default value of FramerateAverageCount.

public const int DefaultFramerateAverageCount = 60

Field Value

int

Properties

Framerate

The simulation's current framerate, averaged over a number a frames (determined by FramerateAverageCount).

public static float Framerate { get; }

Property Value

float

FramerateAverageCount

The number of frames that the value of Framerate should be averaged over.

public static int FramerateAverageCount { get; set; }

Property Value

int

RawFramerate

The simulation's current framerate.

This value can change drastically over multiple frames, making it hard to read. Consider using Framerate instead.

public static float RawFramerate { get; }

Property Value

float