Click or drag to resize

FrameRate Class

Keeps track of how many times the Scenes are rendered per second.
Inheritance Hierarchy
SystemObject
  AGI.Foundation.GraphicsFrameRate

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

The FrameRate type exposes the following members.

Properties
  NameDescription
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.
Top
Methods
  NameDescription
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.)
Top
See Also