Class MouseButtonDownEvent

D class that wraps SDL_MOUSEBUTTONDOWN SDL_Events

class MouseButtonDownEvent
  : MouseButtonEvent ;

Fields

NameTypeDescription
sdlEvent sdl.events.SDL_EventInternal SDL_Event struct

Properties

NameTypeDescription
sdlEventType[get] uintGets the SDL_EventType of the underlying SDL_Event
timestamp[get] inout(uint)Proxy to the timestamp of the dsdl2.Event

Methods

NameDescription
fromSDL (sdlEvent) Turns a vanilla SDL_Event from bindbc-sdl to dsdl2.Event