在本页

TargetDirection QML Type

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

Import Statement: import QtQuick.Particles
Inherits:

Direction

属性

详细说明

财产文件

magnitude : real

magnitudeVariation : real

proportionalMagnitude : bool

如果为 "true",幅值和magnitudeVariation 的值将被解释为每秒源点与目标点之间距离的倍数。

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

targetItem : Item

如果指定,则优先于targetXtargetY 。目标点将是指定项目的中心点

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.