Repeller3D QML Type

Particle repeller. 更多...

导入语句: import QtQuick3D.Particles3D
Since: Qt 6.4
继承: Affector3D

特性

详细描述

Repeller affector repels particles from the position it is placed.

特性文档编制

outerRadius : real

This property holds the outer radius of the repeller. The particle is not affected until it gets inside this radius and the repel strength grows smoothly until the particle gets to radius distance from the repeller. The default value is 50.0;


radius : real

This property holds the radius(or inner radius) of the repeller. Particle is repelled at full strength when it gets inside this radius. The default value is zero.


strength : real

This property holds the strength of the repeller. The default value is 50.0;