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: 20.3.405.0 (20.3.405.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 a hash function for a particular type.
(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