- Qt 6.12
- Qt Quick
- QML Types
- Vector3dAnimation
- Qt 6.12.0 Reference Documentation

# Vector3dAnimation QML Type

Animates changes in QVector3d values. More...

Import Statement: | `import QtQuick`
Inherits: | PropertyAnimation

- List of all members, including inherited members

## Properties

- from : vector3d
- to : vector3d

## Detailed Description

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

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

See also Animation and Transitions in Qt Quick and Qt Quick Examples - Animation.

## Property Documentation

### from : vector3d

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 Animation and Transitions in Qt Quick.

### to : vector3d

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 Animation and Transitions in Qt Quick.