在本页

AngleDirection QML Type

用于指定角度变化的方向。更多

Import Statement: import QtQuick.Particles
Inherits:

Direction

属性

详细说明

AngledDirection 元素既可以通过角度和幅度指定方向,也可以通过角度或幅度改变参数。

属性文档

angle : real

此属性指定了方向的基角。该方向的角度与该角度的偏差不超过angleVariation

角度按顺时针方向从直角开始的度数指定。

默认值为零。

angleVariation : real

该属性指定方向的最大角度变化。方向的角度与 angle 中指定的值相比,顺时针和逆时针方向的变化最大可达 angleVariation。

角度按顺时针方向从直角开始的度数指定。

默认值为零。

magnitude : real

此属性指定了方向的基本幅度。该方向的幅度与此幅度的差值不得超过magnitudeVariation

幅度以每秒像素为单位指定。

默认值为零。

magnitudeVariation : real

此属性指定方向的基本幅度。该方向的幅值与基幅值之间的变化不会超过 magnitudeVariation。

幅度以每秒像素为单位指定。

默认值为零。

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.