godot/doc/classes/GPUParticlesAttractorSphere3D.xml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
1.1 KiB
XML
Raw Normal View History

2020-10-12 08:57:54 +00:00
<?xml version="1.0" encoding="UTF-8" ?>
<class name="GPUParticlesAttractorSphere3D" 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 spheroid-shaped attractor that influences particles from [GPUParticles3D] nodes.
2020-10-12 08:57:54 +00:00
</brief_description>
<description>
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.
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="radius" type="float" setter="set_radius" getter="get_radius" default="1.0">
The attractor sphere's radius in 3D units.
[b]Note:[/b] Stretched ellipses can be obtained by using non-uniform scaling on the [GPUParticlesAttractorSphere3D] node.
2020-10-12 08:57:54 +00:00
</member>
</members>
</class>