TargetDirection QML Type | Qt Quick 5.9

Qt 5.9 | Qt Quick | QML Types | TargetDirection QML Type

Qt 5.9.4 Reference Documentation

# TargetDirection QML Type

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

Import Statement: | import QtQuick.Particles 2.0
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