Navigation
API > API/Plugins > API/Plugins/StylusInput > API/Plugins/StylusInput/IStylusInputEventHandler
Description
Callback for each debug event sent by the stylus input instance for diagnostic purposes. This function is called on the game thread or asynchronously to the game thread depending on how the event handler was added to the stylus input instance. The implementation of this function is responsible for any thread synchronization that might be necessary. The base class implementation of this function does nothing.
| Name | OnDebugEvent |
| Type | function |
| Header File | /Engine/Plugins/Editor/StylusInput/Source/StylusInput/Public/StylusInput.h |
| Include Path | #include "StylusInput.h" |
virtual void OnDebugEvent
(
const FString & Message,
IStylusInputInstance * Instance
)
Parameters
| Name | Remarks |
|---|---|
| Message | The debug message sent by the stylus input instance. |
| Instance | The stylus input instance that sent the debug message. |