Qt Reference Documentation

# QML Vector3dAnimation Element

The Vector3dAnimation element animates changes in QVector3d values. More...

Inherits PropertyAnimation

This element was introduced in Qt 4.7.

- List of all members, including inherited members

## Properties

- from : real
- to : real

## Detailed Description

Vector3dAnimation is a specialized PropertyAnimation that defines an animation to be applied when a Vector3d value changes.

Like any other animation element, a Vector3dAnimation can be applied in a number of ways, including transitions, behaviors and property value sources. The QML Animation and Transitions documentation shows a variety of methods for creating animations.

See also QML Animation and Transitions and Animation basics example.

## Property Documentation

from : real

This property holds the starting value for the animation.

If the Vector3dAnimation is defined within a Transition or Behavior, this value defaults to the value defined in the starting state of the Transition, or the current value of the property at the moment the Behavior is triggered.

See also QML Animation and Transitions.

to : real

This property holds the end value for the animation.

If the Vector3dAnimation is defined within a Transition or Behavior, this value defaults to the value defined in the end state of the Transition, or the value of the property change that triggered the Behavior.

See also QML Animation and Transitions.