Version 3.3.1.2

SirenixAnimationUtility.InterpolatedFloat struct

Namespace: Sirenix.OdinInspector.Editor.Internal
Assembly: Sirenix.OdinInspector.Editor
public struct InterpolatedFloat

Fields

Destination
public float Destination
Easing
public Easing Easing
Start
public float Start
Time
public float Time

Properties

HasBegun
public bool HasBegun { get; }
IsDone
public bool IsDone { get; }

Methods

ChangeDestination(Single)
public void ChangeDestination(float destination)
Parameters
System.Single destination

GetValue()
public float GetValue()
Returns
System.Single

Move(Single, Easing)
public void Move(float speed, Easing easing = Easing.Linear)
Parameters
System.Single speed

Easing easing

Reset()
public void Reset()
Reset(Single)
public void Reset(float start)
Parameters
System.Single start

Reverse(Single, Easing)
public void Reverse(float speed, Easing easing = Easing.Linear)
Parameters
System.Single speed

Easing easing

Operators

Implicit(SirenixAnimationUtility.InterpolatedFloat to Single)
public static implicit operator float (SirenixAnimationUtility.InterpolatedFloat interpolatedFloat)
Parameters
SirenixAnimationUtility.InterpolatedFloat interpolatedFloat

Returns
System.Single

Implicit(Single to SirenixAnimationUtility.InterpolatedFloat)
public static implicit operator SirenixAnimationUtility.InterpolatedFloat(float value)
Parameters
System.Single value