Click or drag to resize

FrameRate Class

Keeps track of how many times the Scenes are rendered per second.
Inheritance Hierarchy

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 23.2.417.0 (23.2.417.0)
public sealed class FrameRate : IDisposable

The FrameRate type exposes the following members.

Public propertyFramesPerSecond
Gets the current frame rate in frames per second.
Public propertyMaximumNumberOfFrames
Gets or sets the maximum number of frames used to determine frame rate. More frames means that the frame rate is averaged over a longer period of time and will fluctuate less than fewer frames would. The minimum value is 2.
Public methodDispose
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodReset
This resets the frame rate counter back to zero. The frame rate computation begins anew.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also