Struct FrameEventArgs
Defines the arguments for frame events.
Inherited Members
Namespace: OpenTK.Windowing.Common
Assembly: OpenTK.Windowing.Common.dll
Syntax
public readonly struct FrameEventArgs
Constructors
FrameEventArgs(double)
Initializes a new instance of the FrameEventArgs struct.
Declaration
public FrameEventArgs(double elapsed)
Parameters
| Type | Name | Description |
|---|---|---|
| double | elapsed | The amount of time that has elapsed since the previous event, in seconds. |
Properties
Time
Gets how many seconds of time elapsed since the previous event.
Declaration
public double Time { get; }
Property Value
| Type | Description |
|---|---|
| double |