TargetDirection QML Type

For specifying a direction towards the target point. 更多...

导入语句: import QtQuick.Particles 2.15
继承:

Direction

特性

详细描述

特性文档编制

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