0.2.0-dev Download ZIP
19 lines ·1.1 KB Raw
| 1 | <?xml version="1.0" encoding="UTF-8" ?> |
| 2 | <class name="GPUParticlesAttractorSphere3D" inherits="GPUParticlesAttractor3D" api_type="core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> |
| 3 | <brief_description> |
| 4 | A spheroid-shaped attractor that influences particles from [GPUParticles3D] nodes. |
| 5 | </brief_description> |
| 6 | <description> |
| 7 | A spheroid-shaped attractor that influences particles from [GPUParticles3D] nodes. Can be used to attract particles towards its origin, or to push them away from its origin. |
| 8 | Particle attractors work in real-time and can be moved, rotated and scaled during gameplay. Unlike collision shapes, non-uniform scaling of attractors is also supported. |
| 9 | [b]Note:[/b] Particle attractors only affect [GPUParticles3D], not [CPUParticles3D]. |
| 10 | </description> |
| 11 | <tutorials> |
| 12 | </tutorials> |
| 13 | <members> |
| 14 | <member name="radius" type="float" setter="set_radius" getter="get_radius" default="1.0"> |
| 15 | The attractor sphere's radius in 3D units. |
| 16 | [b]Note:[/b] Stretched ellipses can be obtained by using non-uniform scaling on the [GPUParticlesAttractorSphere3D] node. |
| 17 | </member> |
| 18 | </members> |
| 19 | </class> |