Skip to content

AnimationSequenceGeneric

abstract class · namespace Hazel

public abstract class AnimationSequenceGeneric<T>

Fields

Field Description
public List<Keyframe<T>> Keyframes

Methods

AddKeyframe(T, float, KeyframeType)

public void AddKeyframe(T data, float time, KeyframeType type = KeyframeType.Linear)

GetValue(float)

public T GetValue(float time)

Interpolate(KeyframeType, T, T, float)

protected abstract T Interpolate(KeyframeType type, T a, T b, float time)

Source: Hazel/Animation/AnimationSequenceGeneric.cs