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+20d1932ee9c49d9b6496f76a0835fd9b82311ad2
Syntax
C#
public float pressure

Field Value

Single
See Also