TargetDirection QML Type | Qt Quick 5.15.19 (original) (raw)
For specifying a direction towards the target point. More...
Import Statement: | import QtQuick.Particles 2.15 |
---|---|
Inherits: | Direction |
Properties
- ****magnitude** : real
- ****magnitudeVariation** : real
- ****proportionalMagnitude** : bool
- ****targetItem** : Item
- ****targetVariation** : real
- ****targetX** : real
- ****targetY** : real
Detailed Description
Property Documentation
magnitudeVariation : real
proportionalMagnitude : bool
If true, then the value of magnitude and magnitudeVariation shall be interpreted as multiples of the distance between the source point and the target point, per second.
If false(default), then the value of magnitude and magnitudeVariation shall be interpreted as pixels per second.
If specified, this will take precedence over targetX and targetY. The targeted point will be the center of the specified Item
© 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.