Class DrawGraphicsEventArgs
Provides data for the DrawGraphics event.
Inherited Members
Namespace: GameOverlay.Windows
Assembly: GameOverlay.dll
Syntax
public class DrawGraphicsEventArgs : EventArgs
Constructors
| Improve this Doc View SourceDrawGraphicsEventArgs(Graphics, Int32, Int64, Int64)
Initializes a new DrawGraphicsEventArgs with a Graphics surface.
Declaration
public DrawGraphicsEventArgs(Graphics graphics, int frameCount, long frameTime, long deltaTime)
Parameters
Type | Name | Description |
---|---|---|
Graphics | graphics | A graphics surface. |
Int32 | frameCount | The number of the currently rendered frame. Starting at 1. |
Int64 | frameTime | The current time in milliseconds. |
Int64 | deltaTime | The elapsed time in milliseconds since the last frame. |
Properties
| Improve this Doc View SourceDeltaTime
Gets the elapsed time in milliseconds since the last frame.
Declaration
public long DeltaTime { get; }
Property Value
Type | Description |
---|---|
Int64 |
FrameCount
Gets the number of frames rendered in the current loop.
Declaration
public int FrameCount { get; }
Property Value
Type | Description |
---|---|
Int32 |
FrameTime
Gets the current time in milliseconds.
Declaration
public long FrameTime { get; }
Property Value
Type | Description |
---|---|
Int64 |
Graphics
Gets the Graphics surface.
Declaration
public Graphics Graphics { get; }
Property Value
Type | Description |
---|---|
Graphics |