Method SetKeyframe
SetKeyframe(SerializedProperty, int, Keyframe)
Sets a key for a given curve.
Declaration
public void SetKeyframe(SerializedProperty curve, int keyframeIndex, Keyframe keyframe)
Parameters
| Type | Name | Description |
|---|---|---|
| SerializedProperty | curve | The curve to modify. |
| int | keyframeIndex | The index of the key to set. |
| Keyframe | keyframe | The new keyframe to put at the index. |