Click or drag to resize

UnityTouchpressure Field

The current amount of pressure being applied to a touch. For Unity Input Manager source: 1.0f is considered to be the pressure of an average touch. If Input.touchPressureSupported returns false, the value of this property will always be 1.0f. For Unity Input System source:

Namespace: Rewired
Assembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0+fd80194fe28f6b408ce098e98c53850d307c3a32
Syntax
C#
public float pressure

Field Value

Single
See Also