0.2.0-dev Download ZIP
30 lines ·1.3 KB Raw
| 1 | <?xml version="1.0" encoding="UTF-8" ?> |
| 2 | <class name="VisualShaderNodeParticleAccelerator" inherits="VisualShaderNode" api_type="core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd"> |
| 3 | <brief_description> |
| 4 | A visual shader node that accelerates particles. |
| 5 | </brief_description> |
| 6 | <description> |
| 7 | Particle accelerator can be used in "process" step of particle shader. It will accelerate the particles. Connect it to the Velocity output port. |
| 8 | </description> |
| 9 | <tutorials> |
| 10 | </tutorials> |
| 11 | <members> |
| 12 | <member name="mode" type="int" setter="set_mode" getter="get_mode" enum="VisualShaderNodeParticleAccelerator.Mode" default="0"> |
| 13 | Defines in what manner the particles will be accelerated. |
| 14 | </member> |
| 15 | </members> |
| 16 | <constants> |
| 17 | <constant name="MODE_LINEAR" value="0" enum="Mode"> |
| 18 | The particles will be accelerated based on their velocity. |
| 19 | </constant> |
| 20 | <constant name="MODE_RADIAL" value="1" enum="Mode"> |
| 21 | The particles will be accelerated towards or away from the center. |
| 22 | </constant> |
| 23 | <constant name="MODE_TANGENTIAL" value="2" enum="Mode"> |
| 24 | The particles will be accelerated tangentially to the radius vector from center to their position. |
| 25 | </constant> |
| 26 | <constant name="MODE_MAX" value="3" enum="Mode"> |
| 27 | Represents the size of the [enum Mode] enum. |
| 28 | </constant> |
| 29 | </constants> |
| 30 | </class> |