Repeller3D QML Type
粒子排斥器更多
| Import Statement: | import QtQuick3D.Particles3D |
| Since: | Qt 6.4 |
| Inherits: |
属性
- outerRadius : real
- radius : real
- strength : real
详细说明
粒子排斥器(Repeller affector)可将粒子从其放置的位置排斥出去。
属性文档
outerRadius : real
该属性表示斥力器的外部半径。粒子在进入此半径范围内之前不会受到影响,斥力会平稳增长,直到粒子与斥力器的距离达到半径范围。默认值为 50.0;
radius : real
此属性表示排斥器的半径(或内部半径)。当粒子进入此半径内时,会被全力击退。默认值为零。
strength : real
该属性表示驱赶器的强度。默认值为 50.0;
© 2026 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.