pressure
Gets the amount of pressure currently applied by a touch.
阅读时间1 分钟最后更新于 1 个月前
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.