mirror of
https://github.com/godotengine/godot.git
synced 2024-12-02 00:52:50 +00:00
19 lines
1013 B
XML
19 lines
1013 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="GPUParticlesAttractorBox3D" inherits="GPUParticlesAttractor3D" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
|
<brief_description>
|
|
A box-shaped attractor that influences particles from [GPUParticles3D] nodes.
|
|
</brief_description>
|
|
<description>
|
|
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.
|
|
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.
|
|
[b]Note:[/b] Particle attractors only affect [GPUParticles3D], not [CPUParticles3D].
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<members>
|
|
<member name="size" type="Vector3" setter="set_size" getter="get_size" default="Vector3(2, 2, 2)">
|
|
The attractor box's size in 3D units.
|
|
</member>
|
|
</members>
|
|
</class>
|