scrollDecelerationRate
Controls the rate at which the scrolling movement slows after a user scrolls using a touch interaction.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Property
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
[UxmlAttribute]public float scrollDecelerationRate { get; set; }
Remarks
The deceleration rate is the speed reduction per second. A value of 0.5 halves the speed each second. A value of 0 stops the scrolling immediately.