Interface ICurve<T>
Represents an animation curve that stores keyframes of generic value.
Inherited Members
Namespace: Unity.LiveCapture
Assembly: Unity.LiveCapture.dll
Syntax
public interface ICurve<in T> : ICurve
Type Parameters
Name | Description |
---|---|
T | The type of data to store in the curve. |
Methods
AddKey(float, T)
Adds a keyframe to the curve.
Declaration
void AddKey(float time, T value)
Parameters
Type | Name | Description |
---|---|---|
float | time | The time in seconds to insert the keyframe at. |
T | value | The keyframe value. |