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;
© 2025 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.