Class AnimationCurveExtensions
- Namespace
- Zorro.Core
- Assembly
- Zorro.Core.Runtime.dll
public static class AnimationCurveExtensions
- Inheritance
-
AnimationCurveExtensions
- Inherited Members
-
Methods
First(AnimationCurve)
public static Keyframe First(this AnimationCurve animationCurve)
Parameters
animationCurve
AnimationCurve
Returns
- Keyframe
GetEndTime(AnimationCurve)
public static float GetEndTime(this AnimationCurve animationCurve)
Parameters
animationCurve
AnimationCurve
Returns
- float
GetStartTime(AnimationCurve)
public static float GetStartTime(this AnimationCurve animationCurve)
Parameters
animationCurve
AnimationCurve
Returns
- float
YieldForCurve(AnimationCurve, Action<float>, bool, float)
public static IEnumerator YieldForCurve(this AnimationCurve animationCurve, Action<float> onSampleCurve, bool timeScale = true, float speed = 1)
Parameters
animationCurve
AnimationCurve
onSampleCurve
Action<float>
timeScale
bool
speed
float
Returns
- IEnumerator
YieldForCurveFixedUpdate(AnimationCurve, Action<float>, bool, float)
public static IEnumerator YieldForCurveFixedUpdate(this AnimationCurve animationCurve, Action<float> onSampleCurve, bool timeScale = true, float speed = 1)
Parameters
animationCurve
AnimationCurve
onSampleCurve
Action<float>
timeScale
bool
speed
float
Returns
- IEnumerator