Window.PollEvent Method

SFML.Net

WindowPollEvent Method
Internal function to get the next event (non-blocking)

Namespace: SFML.Window
Assembly: sfmlnet-window-2 (in sfmlnet-window-2.dll) Version: 2.2.0.0 (2.2.0)
Syntax
protected virtual bool PollEvent(
	out Event eventToFill
)
Protected Overridable Function PollEvent ( 
	<OutAttribute> ByRef eventToFill As Event
) As Boolean
protected:
virtual bool PollEvent(
	[OutAttribute] Event% eventToFill
)
abstract PollEvent : 
        eventToFill : Event byref -> bool 
override PollEvent : 
        eventToFill : Event byref -> bool 

Parameters

eventToFill
Type: SFML.WindowEvent
Variable to fill with the raw pointer to the event structure

Return Value

Type: Boolean
True if there was an event, false otherwise
See Also