Version 3.3.1.2

SirenixAnimationUtility.InterpolatedVector2 struct

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

Fields

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

Properties

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

Methods

ChangeDestination(Vector2)
public void ChangeDestination(Vector2 destination)
Parameters
UnityEngine.Vector2 destination

GetValue()
public Vector2 GetValue()
Returns
UnityEngine.Vector2

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

Easing easing

Reset()
public void Reset()
Reset(Vector2)
public void Reset(Vector2 start)
Parameters
UnityEngine.Vector2 start

Operators

Implicit(SirenixAnimationUtility.InterpolatedVector2 to Vector2)
public static implicit operator Vector2(SirenixAnimationUtility.InterpolatedVector2 interpolatedVector2)
Parameters
SirenixAnimationUtility.InterpolatedVector2 interpolatedVector2

Returns
UnityEngine.Vector2

Implicit(Vector2 to SirenixAnimationUtility.InterpolatedVector2)
public static implicit operator SirenixAnimationUtility.InterpolatedVector2(Vector2 value)
Parameters
UnityEngine.Vector2 value