Sur cette page

TargetDirection QML Type

Permet de spécifier une direction vers le point cible. Plus d'informations...

Import Statement: import QtQuick.Particles
Inherits:

Direction

Propriétés

Description détaillée

Documentation sur les propriétés

magnitude : real

magnitudeVariation : real

proportionalMagnitude : bool

Si true, les valeurs de magnitude et magnitudeVariation sont interprétées comme des multiples de la distance entre le point source et le point cible, par seconde.

Si false (par défaut), les valeurs de magnitude et magnitudeVariation sont interprétées comme des pixels par seconde.

targetItem : Item

Si elle est spécifiée, elle aura la priorité sur targetX et targetY. Le point ciblé sera le centre de l'élément spécifié.

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.