godot/doc/classes/GPUParticlesAttractorBox3D.xml

19 lines
1013 B
XML
Raw Normal View History

2020-10-12 08:57:54 +00:00
<?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">
2020-10-12 08:57:54 +00:00
<brief_description>
A box-shaped attractor that influences particles from [GPUParticles3D] nodes.
2020-10-12 08:57:54 +00:00
</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].
2020-10-12 08:57:54 +00:00
</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.
2020-10-12 08:57:54 +00:00
</member>
</members>
</class>