Navigation
API > API/Plugins > API/Plugins/StylusInput
Interface for a stylus input instance.
| Name | IStylusInputInstance |
| Type | class |
| Header File | /Engine/Plugins/Editor/StylusInput/Source/StylusInput/Public/StylusInput.h |
| Include Path | #include "StylusInput.h" |
Syntax
class IStylusInputInstance
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IStylusInputInstance() |
StylusInput.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AddEventHandler
(
IStylusInputEventHandler* EventHandler, |
Adds an event handler that gets called for any processed stylus input event. | StylusInput.h | |
virtual float GetPacketsPerSecond
(
EEventHandlerThread Thread |
Provides the approximate number of stylus input packets processed per second for the given thread type for diagnostic purposes. | StylusInput.h | |
const TSharedPtr< IStylusInputStylusInfo > GetStylusInfo
(
uint32 StylusID |
Provides the stylus a.k.a. | StylusInput.h | |
const TSharedPtr< IStylusInputTabletContext > GetTabletContext
(
uint32 TabletContextID |
Provides the tablet context information for a given tablet context ID. | StylusInput.h | |
bool RemoveEventHandler
(
IStylusInputEventHandler* EventHandler |
Removes an event handler from this stylus input instances, and frees up all associated resources. | StylusInput.h |