- Qt 6.10
- Qt Quick
- QML Types
- QtQuick.Particles
- TargetDirection
- Qt 6.10.0 Reference Documentation

# TargetDirection QML Type

For specifying a direction towards the target point. More...

Import Statement: | `import QtQuick.Particles`
Inherits: | Direction

- List of all members, including inherited members

## Properties

- magnitude : real
- magnitudeVariation : real
- proportionalMagnitude : bool
- targetItem : Item
- targetVariation : real
- targetX : real
- targetY : real

## Detailed Description

## Property Documentation

magnitude : real

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.

targetItem : Item

If specified, this will take precedence over targetX and targetY. The targeted point will be the center of the specified Item

targetVariation : real

targetX : real

targetY : real