FStylusState::GetPressure

Get the current pressure along the tablet's normal, usually straight down.

Windows
MacOS
Linux

References

Module

StylusInput

Header

/Engine/Plugins/Editor/StylusInput/Source/StylusInput/Public/IStylusState.h

Include

#include "IStylusState.h"

Syntax

float GetPressure() const

Remarks

Get the current pressure along the tablet's normal, usually straight down. Normalized to the range [0, 1]. Defaults to 0 if EStylusInputType::Pressure is not supported.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss