Vector3dAnimation QML Type

Animates changes in QVector3d values 更多...

Import Statement: import QtQuick 2.7
基类:

PropertyAnimation

属性

  • from : vector3d
  • to : vector3d

详细描述

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.

参见 Animation and Transitions in Qt Quick and Qt Quick Examples - Animation.

属性

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.

参见 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.

参见 Animation and Transitions in Qt Quick.