AnimationContextProperty_T_
interludesoftware.tick¶
Interlude.Tick¶
AnimationContextProperty\<T> Class¶
Type parameters¶
T
Inheritance System.Object → AnimationContextProperty\<T>
Constructors¶
AnimationContextProperty(T, LerpFunc) Constructor¶
Initializes the property with a default value and the lerp function used for blending.
Parameters¶
value T
lerpFunc Interlude.Tick.GenericLerper.LerpFunc<T>
Fields¶
AnimationContextProperty\<T>.LastUsedFrame Field¶
Frame index on which this property was last accessed.
Field Value¶
Methods¶
AnimationContextProperty\<T>.Blend(T, T, float) Method¶
Blends from first to second over duration seconds using a linear curve.
Parameters¶
first T
second T
duration System.Single
Returns¶
AnimationContextProperty\<T>.Blend(T, T, float, Curve) Method¶
Blends from first to second over duration seconds using the specified easing curve.
public Interlude.Tick.AnimationContextEventBase Blend(T first, T second, float duration, Interlude.Tick.Curves.Curve curve);
Parameters¶
first T
second T
duration System.Single
curve Interlude.Tick.Curves.Curve
Returns¶
AnimationContextProperty\<T>.BlendUnscaled(T, T, float) Method¶
Blends from first to second over duration unscaled seconds using a linear curve.
Parameters¶
first T
second T
duration System.Single
Returns¶
AnimationContextProperty\<T>.BlendUnscaled(T, T, float, Curve) Method¶
Blends from first to second over duration unscaled seconds using the specified easing curve.
public Interlude.Tick.AnimationContextEventBase BlendUnscaled(T first, T second, float duration, Interlude.Tick.Curves.Curve curve);
Parameters¶
first T
second T
duration System.Single
curve Interlude.Tick.Curves.Curve
Returns¶
AnimationContextProperty\<T>.Set(T) Method¶
Immediately sets the property to value when the owning event is active. Returns the event for chaining.
Parameters¶
value T
Returns¶
AnimationContextProperty\<T>.SetParent(AnimationContextEventBase) Method¶
Binds this property to the event that owns it for the current frame.
Parameters¶
parent AnimationContextEventBase
AnimationContextProperty\<T>.Update(float) Method¶
Advances hover enter/leave timing and propagates event-specific state updates.
Parameters¶
duration System.Single