Navigation
API > API/Plugins > API/Plugins/StylusInput
Describes the interaction between pen and drawing surface (a.k.a. digitizer) for which the packet was generated.
| Name | UE::StylusInput::EPacketType |
| Type | enum |
| Header File | /Engine/Plugins/Editor/StylusInput/Source/StylusInput/Public/StylusInputPacket.h |
| Include Path | #include "StylusInputPacket.h" |
Syntax
namespace UE
{
namespace StylusInput
{
enum EPacketType
{
Invalid,
OnDigitizer,
AboveDigitizer,
StylusDown,
StylusUp,
}
}
}
Values
| Name | Remarks |
|---|---|
| Invalid | The packet is not valid. |
| OnDigitizer | The packet was generated while the pen's cursor is touching the drawing surface. |
| AboveDigitizer | The packet was generated while the pen's cursor is hovering in proximity above the drawing surface. |
| StylusDown | The packet was generated when the pen's cursor started touching the drawing surface. |
| StylusUp | The packet was generated when the pen's cursor stopped touching the drawing surface. |