Version 3.3.1.2

SirenixAnimationUtility class

Namespace: Sirenix.OdinInspector.Editor.Internal
Assembly: Sirenix.OdinInspector.Editor
public static class SirenixAnimationUtility
Inheritance
  • System.Object
  • SirenixAnimationUtility

Methods

ApplyEasingFunction(Single, Easing)
public static float ApplyEasingFunction(float t, Easing function)
Parameters
System.Single t

Easing function

Returns
System.Single

GetTemporaryFloat(Object, Single)
public static SirenixAnimationUtility.InterpolatedFloat GetTemporaryFloat(object key, float defaultValue)
Parameters
System.Object key

System.Single defaultValue

Interpolate(Single, Single, Single, Easing)
public static float Interpolate(float start, float end, float time, Easing easing = Easing.Linear)
Parameters
System.Single start

System.Single end

System.Single time

Easing easing

Returns
System.Single

Interpolate(Vector2, Vector2, Single, Easing)
public static Vector2 Interpolate(Vector2 start, Vector2 end, float time, Easing easing = Easing.Linear)
Parameters
UnityEngine.Vector2 start

UnityEngine.Vector2 end

System.Single time

Easing easing

Returns
UnityEngine.Vector2