TargetDirection QML Type

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

Import Statement: import QtQuick.Particles 2.0
基类:

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