Interface ICommonEvent
A commonly shared interface, implemented by all of SDL's *Event structures
public interface ICommonEvent
Remarks
This interface is usually implemented by implementing ICommonEvent<TSelf> (which extends this interface) instead.
Properties
Timestamp
Gets or sets the timestamp of the current event
ulong Timestamp { get; set; }
Property Value
- ulong
The timestamp of the current event, in nanoseconds in nanoseconds since the initialization of SDL
Remarks
The value of this property usually describes the time passed, in nanoseconds since the initialization of SDL. It can be properly populated by using NanosecondTicks.
Type
Gets or sets the type of the current event
EventType Type { get; set; }