Clutter.KeyframeTransition.set_key_frames

### Method

# Clutter KeyframeTransitionset_key_frames

#### Declaration [src]

    void
    clutter_keyframe_transition_set_key_frames (
      ClutterKeyframeTransition* transition,
      guint n_key_frames,
      const double* key_frames
    )

#### Description [src]

Sets the keys for each key frame inside `transition`.

If `transition` does not hold any key frame, `n_key_frames` key frames will be created; if `transition` already has key frames, `key_frames` must have at least as many elements as the number of key frames.

Available since: | 1.12

#### Parameters

`n_key_frames` | `guint`
| The number of values.
`key_frames` | An array of `double`
| An array of keys between 0.0 and 1.0, one for each key frame.
| The length of the array is specified in the `n_key_frames` argument.
| The data is owned by the caller of the function.