RenderWindow.PollEvent Method

SFML.Net

RenderWindowPollEvent Method
Internal function to get the next event

Namespace: SFML.Graphics
Assembly: sfmlnet-graphics-2 (in sfmlnet-graphics-2.dll) Version: 2.2.0.0 (2.2.0)
Syntax
protected override bool PollEvent(
	out Event eventToFill
)
Protected Overrides Function PollEvent ( 
	<OutAttribute> ByRef eventToFill As Event
) As Boolean
protected:
virtual bool PollEvent(
	[OutAttribute] Event% eventToFill
) override
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