Class FrameEventArgs
Defines the arguments for frame events. A FrameEventArgs instance is only valid for the duration of the relevant event; do not store references to FrameEventArgs outside this event.
Inherited Members
Namespace: OpenTK
Assembly: OpenTK.dll
Syntax
public class FrameEventArgs : EventArgs
Constructors
FrameEventArgs()
Constructs a new FrameEventArgs instance.
Declaration
public FrameEventArgs()
FrameEventArgs(Double)
Constructs a new FrameEventArgs instance.
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 a Double that indicates how many seconds of time elapsed since the previous event.
Declaration
public double Time { get; }
Property Value
Type | Description |
---|---|
Double |