本页内容

AngleDirection QML Type

用于指定角度随时间变化的方向。更多...

Import Statement: import QtQuick.Particles
Inherits:

Direction

属性

详细说明

AngledDirection 元素既允许通过角度和大小来指定方向,也允许通过角度或大小来调整参数。

属性文档

angle : real

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

角度以顺时针方向从正右方向开始,以度为单位表示。

默认值为零。

angleVariation : real

此属性指定了该方向的最大角度变化范围。该方向的角度将在“angle”中指定的值基础上,顺时针和逆时针方向各变化最多“angleVariation”度。

angle 以“直右”为基准,按顺时针方向以度为单位指定。

默认值为零。

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.