Class SimpleAnimationCurve<T>
- Namespace
- Lime
- Assembly
- Lime.dll
public class SimpleAnimationCurve<T> : IAnimationCurve<T>, ISimpleAnimationCurve, IAnimationCurve, IAnimationCurveWithKeys, IAnimationCurveWithKeys<T>
Type Parameters
T
- Inheritance
-
SimpleAnimationCurve<T>
- Implements
-
- Derived
-
- Inherited Members
-
Constructors
SimpleAnimationCurve()
public SimpleAnimationCurve()
Properties
Duration
public int Duration { get; }
Property Value
- int
IsEmpty
public bool IsEmpty { get; }
Property Value
- bool
Keys
[YuzuMember]
public SimpleKeyframeCollection<T> Keys { get; }
Property Value
- SimpleKeyframeCollection<T>
RefCount
public int RefCount { get; }
Property Value
- int
Methods
AddRef()
Create()
public static SimpleAnimationCurve<T> Create()
Returns
- SimpleAnimationCurve<T>
Create(IEnumerable<SimpleKeyframe<T>>)
public static SimpleAnimationCurve<T> Create(IEnumerable<SimpleKeyframe<T>> keys)
Parameters
keys
IEnumerable<SimpleKeyframe<T>>
Returns
- SimpleAnimationCurve<T>
CreateEvaluator()
public IAnimationCurveEvaluator<T> CreateEvaluator()
Returns
- IAnimationCurveEvaluator<T>
InterpolateLinear(T, T, float)
protected virtual T InterpolateLinear(T value1, T value2, float amount)
Parameters
value1
T
value2
T
amount
float
Returns
- T
InterpolateSplined(T, T, T, T, float)
protected virtual T InterpolateSplined(T value1, T value2, T value3, T value4, float amount)
Parameters
value1
T
value2
T
value3
T
value4
T
amount
float
Returns
- T
Release()