W3cubDocs

/Qt

Vector3dAnimation QML Type

Animates changes in QVector3d values. More...

Import Statement: import QtQuick
Inherits:

PropertyAnimation

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.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qml-qtquick-vector3danimation.html