Navigation
API > API/Plugins > API/Plugins/StylusInput > API/Plugins/StylusInput/IStylusInputInstance
Description
Provides the approximate number of stylus input packets processed per second for the given thread type for diagnostic purposes. The result will only be meaningful if at least one event handler was added for the given thread type.
| Name | GetPacketsPerSecond |
| Type | function |
| Header File | /Engine/Plugins/Editor/StylusInput/Source/StylusInput/Public/StylusInput.h |
| Include Path | #include "StylusInput.h" |
virtual float GetPacketsPerSecond
(
EEventHandlerThread Thread
) const
Approximate number of stylus input packets processed per second, or -1 if there is no valid data available.
Parameters
| Name | Remarks |
|---|---|
| Thread | Selects the set of event handlers, i.e. number of packets processed on the game thread versus processed asynchronously. |