Attractor QML Type
Attracts particles towards a specific point. More...
- affectedParameter : enumeration
- pointX : real
- pointY : real
- proportionalToDistance : enumeration
- strength : real
Like other affectors, Attractor has the standard properties x, y, width, and height that represent the affected area. The size and position of the Attractor item determine the affected particles.
affectedParameter : enumeration
The attribute of particles that is directly affected.
pointX : real
The x coordinate of the attracting point, relative to the x coordinate of the Attractor item.
pointY : real
The y coordinate of the attracting point, relative to the y coordinate of the Attractor item.
proportionalToDistance : enumeration
The relation between the strength of the attraction and the distance from the particle to the attracting point.
strength : real
The pull, in units per second, to be exerted on an item one pixel away.
Strength, together with the value of proportionalToDistance property, determine the exact amount of pull exerted on particles at a distance.
© 2024 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.