MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / Update

Function Update

Source/Engine/Input/InputDevice.h:120–127  ·  view source on GitHub ↗

Captures the input since the last call and triggers the input events. The input events queue. True if device has been disconnected, otherwise false.

Source from the content-addressed store, hash-verified

118 /// <param name="queue">The input events queue.</param>
119 /// <returns>True if device has been disconnected, otherwise false.</returns>
120 virtual bool Update(EventQueue& queue)
121 {
122 if (UpdateState())
123 return true;
124 queue.Add(_queue);
125 _queue.Clear();
126 return false;
127 }
128
129 /// <summary>
130 /// Updates only the current state of the device.

Callers 15

UpdateFileReadFunction · 0.50
UpdatePostProcessFunction · 0.50
UpdateFileWriteFunction · 0.50
UpdateExecuteInEditorMethod · 0.50
OnUpdateMethod · 0.50
UpdateMethod · 0.50
OnUpdateMethod · 0.50
TickMethod · 0.50
TickMethod · 0.50
TickMethod · 0.50
UpdateMethod · 0.50
InputBracketMethod · 0.50

Calls 3

UpdateStateFunction · 0.85
AddMethod · 0.45
ClearMethod · 0.45

Tested by

no test coverage detected