Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


pressure

How hard pen pressure is applied, normalized between 0 (no pressure) and 1 (maximum pressure).
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.UICommonModule
public float pressure { get; set; }

Remarks

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