C

Keyframe QML Type

A keyframe. More...

Import Statement: import QtQuick.Timeline
Since: Qt Quick Ultralite 1.3

Properties

Detailed Description

The value that the property targeted by a KeyframeGroup should have at a specific frame.

An easing curve can be attached to the keyframe.

See also Timeline and KeyframeGroup.

Property Documentation

easing : var

The easing curve attached to the keyframe.

The curve is applied in the interval between the previous keyframe and this keyframe. In the following example, the easing curve on the second keyframe controls how values between the first and second keyframes are computed.

KeyframeGroup {
    Keyframe {
        frame: 0
        value: 0
    }
    Keyframe {
        frame: 50
        value: 50
        easing.type: Easing.InQuad
    }
    Keyframe {
        frame: 100
        value: 100
    }
}

frame : real

The position of the keyframe on the timeline.


value : var

The value of the keyframe.


Available under certain Qt licenses.
Find out more.