Navigation
API > API/Plugins > API/Plugins/StylusInput > API/Plugins/StylusInput/IStylusInputInstance
Description
Provides the tablet context information for a given tablet context ID. This function should only be called with tablet context IDs that were recently provided by the stylus input instance, e.g. within a Calls to this function are thread-safe, i.e. can be made from an event handler callback running on any thread.
| Name | GetTabletContext |
| Type | function |
| Header File | /Engine/Plugins/Editor/StylusInput/Source/StylusInput/Public/StylusInput.h |
| Include Path | #include "StylusInput.h" |
const TSharedPtr < IStylusInputTabletContext > GetTabletContext
(
uint32 TabletContextID
)
Pointer to tablet context information or nullptr if the tablet context ID was invalid or an error occured.
Parameters
| Name | Remarks |
|---|---|
| TabletContextID | The unique identifier of the tablet context as provided by this stylus input instance via an event handler callback. |
See Also
- FStylusPacket as part of an event handler callback.