The Open Toolkit library  1.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
OpenTK.FrameEventArgs Class Reference

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. More...

Inherits EventArgs.

Public Member Functions

 FrameEventArgs ()
 Constructs a new FrameEventArgs instance. More...
 
 FrameEventArgs (double elapsed)
 Constructs a new FrameEventArgs instance. More...
 

Properties

double Time [get, set]
 Gets a System.Double that indicates how many seconds of time elapsed since the previous event. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

OpenTK.FrameEventArgs.FrameEventArgs ( )

Constructs a new FrameEventArgs instance.

OpenTK.FrameEventArgs.FrameEventArgs ( double  elapsed)

Constructs a new FrameEventArgs instance.

Parameters
elapsedThe amount of time that has elapsed since the previous event, in seconds.

Property Documentation

double OpenTK.FrameEventArgs.Time
getset

Gets a System.Double that indicates how many seconds of time elapsed since the previous event.