AngleDirection QML Type

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

Import Statement: import QtQuick.Particles
Inherits:

Direction

属性

详细说明

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

属性文档

angle : real

该属性指定了方向的基准角度。该方向的角度变化不超过angleVariation

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

默认值为零。


angleVariation : real

该属性指定方向的最大角度变化。方向角度的顺时针和逆时针变化不超过 angleVariation。

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

默认值为零。


magnitude : real

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

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

默认值为零。


magnitudeVariation : real

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

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

默认值为零。


© 2025 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.