0.2.0-dev Download ZIP
18 lines ·1.0 KB Raw
| 1 | <?xml version="1.0" encoding="UTF-8" ?> |
| 2 | <class name="GPUParticlesAttractorBox3D" inherits="GPUParticlesAttractor3D" api_type="core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> |
| 3 | <brief_description> |
| 4 | A box-shaped attractor that influences particles from [GPUParticles3D] nodes. |
| 5 | </brief_description> |
| 6 | <description> |
| 7 | A box-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="size" type="Vector3" setter="set_size" getter="get_size" default="Vector3(2, 2, 2)"> |
| 15 | The attractor box's size in 3D units. |
| 16 | </member> |
| 17 | </members> |
| 18 | </class> |