Module |
|
Header |
/Engine/Plugins/Editor/StylusInput/Source/StylusInput/Public/IStylusState.h |
Include |
#include "IStylusState.h" |
class FStylusState
The current state of a single stylus, as sent by IStylusMessageHandler.
Name | Description | |
---|---|---|
|
FStylusState() |
|
|
FStylusState ( |
|
|
FStylusState |
Name | Description | ||
---|---|---|---|
|
GetPosition() |
The current position of the stylus on (or above) the tablet. |
|
|
float |
GetPressure() |
Get the current pressure along the tablet's normal, usually straight down. |
|
GetSize() |
Get the size of the touch in logical coordinates. |
|
|
float |
GetTangentPressure() |
Get the current pressure along the tablet's surface. |
|
GetTilt() |
The current tilt along the X axis in degrees, normalized to the range of [-90, 90]. |
|
|
float |
GetTwist() |
The current twist amount around the stylus' own axis in degrees, normalized to the range of [0, 360). |
|
float |
GetZ() |
The current height of the stylus above the tablet. |
|
IsStylusDown() |
Is the stylus currently touching the tablet? |
|
|
IsStylusInverted() |
Is the stylus inverted? Ie. |