Class MouseMotionEvent

D class that wraps SDL_MOUSEMOTION SDL_Events

class MouseMotionEvent
  : Event ;

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