object DecreaseWrapAt
- Companion:
- class
Type members
Value members
Concrete methods
Constructor for a value that decreases over time and wraps back to zero when it hits the limit. This constructor assumes the start value is zero.
Constructor for a value that decreases over time and wraps back to zero when it hits the limit. This constructor assumes the start value is zero.
- Value parameters:
- limit
The lower limit
- unitsPerSecond
The rate of change
- value
The current value
- Returns:
DecreaseWrapAt