Navigation
API > API/Plugins > API/Plugins/StylusInput
Data for an interaction between the pen and the drawing surface.
Note that not all devices support all properties. The set of valid properties can be queried via
| Name | FStylusInputPacket |
| Type | struct |
| Header File | /Engine/Plugins/Editor/StylusInput/Source/StylusInput/Public/StylusInputPacket.h |
| Include Path | #include "StylusInputPacket.h" |
Syntax
struct FStylusInputPacket
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AltitudeOrientation | float | StylusInputPacket.h | ||
| AzimuthOrientation | float | StylusInputPacket.h | ||
| ButtonPressure | float | StylusInputPacket.h | ||
| CursorID | uint32 | Unique identifier for the stylus/cursor/pen that was used to create the packet. | StylusInputPacket.h | |
| DeviceContactID | int32 | StylusInputPacket.h | ||
| FingerContactConfidence | float | StylusInputPacket.h | ||
| Height | float | StylusInputPacket.h | ||
| NormalPressure | float | StylusInputPacket.h | ||
| PenStatus | EPenStatus | The status of the stylus/cursor/pen when the packet was created. | StylusInputPacket.h | |
| PitchRotation | float | StylusInputPacket.h | ||
| RollRotation | float | StylusInputPacket.h | ||
| SerialNumber | uint32 | StylusInputPacket.h | ||
| TabletContextID | uint32 | Metadata. | StylusInputPacket.h | |
| TangentPressure | float | StylusInputPacket.h | ||
| TimerTick | uint32 | StylusInputPacket.h | ||
| TwistOrientation | float | StylusInputPacket.h | ||
| Type | EPacketType | The type of interaction between pen and drawing surface that created the packet. | StylusInputPacket.h | |
| Width | float | StylusInputPacket.h | ||
| X | float | Properties. | StylusInputPacket.h | |
| XTiltOrientation | float | StylusInputPacket.h | ||
| Y | float | StylusInputPacket.h | ||
| YawRotation | float | StylusInputPacket.h | ||
| YTiltOrientation | float | StylusInputPacket.h | ||
| Z | float | StylusInputPacket.h |
See Also
-
IStylusInputTabletContext::GetSupportedProperties
-
and a description of all properties is available in