ドキュメント

Unity Engine

Unity Engine

pressure

How hard pen pressure is applied, normalized between 0 (no pressure) and 1 (maximum pressure).
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.InputLegacyModule
public float pressure

Remarks

Pressure is always 1 on devices where pressure is not supported.