SmoothDampFloat
Class in Zigurous.Animation
Inherits from SmoothDamp<T>
Declaration
[Serializable]
public class SmoothDampFloat : SmoothDamp<float>
Description
Gradually changes a float over time using a spring-damper function, which will never overshoot.
Methods
Update | Smoothes the current value to the target value. |
Inherited
Properties
smoothTime | Approximately the time it will take to reach the target. A smaller value will reach the target faster. |
maxSpeed | Optionally allows you to clamp the maximum speed. |