pressure
Gets the amount of pressure currently applied by a touch.
Read time 1 minuteLast updated 9 days ago
Definition
- Type: Property
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
float pressure { get; }
Remarks
If the device does not report pressure, the value of this property is 1.0f.