本页内容

TargetDirection QML Type

用于指定指向目标点的方向。更多...

Import Statement: import QtQuick.Particles
Inherits:

Direction

属性

详细说明

物业文件

magnitude : real

magnitudeVariation : real

proportionalMagnitude : bool

如果为真,则应将 magnitude 和magnitudeVariation 的值解释为源点与目标点之间距离的倍数(单位为每秒)。

如果为 false(默认值),则 magnitude 和magnitudeVariation 的值应解释为每秒的像素数。

targetItem : Item

如果指定了此选项,它将优先于targetX 和targetY 。目标点将是指定项的中心。

targetVariation : real

targetX : real

targetY : real

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