Class SpringWithVelocityAnimator
public class SpringWithVelocityAnimator : SkiaValueAnimator, ISkiaAnimator, IDisposable
- Inheritance
-
SpringWithVelocityAnimator
- Implements
- Inherited Members
- Extension Methods
Constructors
SpringWithVelocityAnimator(IDrawnBase)
public SpringWithVelocityAnimator(IDrawnBase parent)
Parameters
parentIDrawnBase
Properties
Parameters
public SpringTimingParameters Parameters { get; set; }
Property Value
Methods
Initialize(float, float, float, Spring, float)
public void Initialize(float restOffset, float position, float velocity, Spring spring, float thresholdStop = 0.5)
Parameters
UpdateValue(long, long)
Update mValue using time distance between rendered frames. Return true if anims is finished.
protected override bool UpdateValue(long deltaT, long deltaFromStart)