API reference
API reference
Select your platform
No SDKs available
No versions available

ProgressCurve Class

ProgressCurve provides a helper for creating curves for easing.
In some respects it works like an AnimationCurve except that ProgressCurve always takes in a normalized AnimationCurve and a second parameter defines the length of the animation.
A few helper methods are provided to track progress through the animation.

Properties

AnimationCurve AnimationCurve[Get]
float AnimationLength[Get]
Func< float > TimeProvider[Get]

Member Functions

Sets a function that returns the current time in seconds.
ProgressCurve ( )
ProgressCurve
( AnimationCurve animationCurve,
float animationLength )
ProgressCurve
( ProgressCurve other )
void Copy
( ProgressCurve other )
void Start ( )
float Progress ( )
float ProgressIn
( float time )
float ProgressTime ( )
void End ( )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon