Inheritance
System.Object
Tween<T>
public abstract class Tween<T> : Animatable<T>, IEquatable<Tween<T>>
Type Parameters
Constructors
Declaration
protected Tween(T begin, T end)
Parameters
Type |
Name |
Description |
T |
begin |
|
T |
end |
|
Properties
Declaration
public virtual T begin { get; set; }
Property Value
Declaration
public virtual T end { get; set; }
Property Value
Methods
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Object.Equals(System.Object)
Declaration
public bool Equals(Tween<T> other)
Parameters
Type |
Name |
Description |
Tween<T> |
other |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public override T evaluate(Animation<float> animation)
Parameters
Type |
Name |
Description |
Animation<System.Single> |
animation |
|
Returns
Overrides
Unity.UIWidgets.animation.Animatable<T>.evaluate(Unity.UIWidgets.animation.Animation<System.Single>)
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
Declaration
public abstract T lerp(float t)
Parameters
Type |
Name |
Description |
System.Single |
t |
|
Returns
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
Operators
Declaration
public static bool operator ==(Tween<T> left, Tween<T> right)
Parameters
Type |
Name |
Description |
Tween<T> |
left |
|
Tween<T> |
right |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool operator !=(Tween<T> left, Tween<T> right)
Parameters
Type |
Name |
Description |
Tween<T> |
left |
|
Tween<T> |
right |
|
Returns
Type |
Description |
System.Boolean |
|