2020-09-15 07:57:40 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2023-03-01 00:44:37 +00:00
|
|
|
<class name="VisualShaderNodeParticleAccelerator" inherits="VisualShaderNode" version="4.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
2020-09-15 07:57:40 +00:00
|
|
|
<brief_description>
|
2022-12-07 14:59:34 +00:00
|
|
|
A visual shader node that accelerates particles.
|
2020-09-15 07:57:40 +00:00
|
|
|
</brief_description>
|
|
|
|
<description>
|
2022-12-07 14:59:34 +00:00
|
|
|
Particle accelerator can be used in "process" step of particle shader. It will accelerate the particles. Connect it to the Velocity output port.
|
2020-09-15 07:57:40 +00:00
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<members>
|
|
|
|
<member name="mode" type="int" setter="set_mode" getter="get_mode" enum="VisualShaderNodeParticleAccelerator.Mode" default="0">
|
2022-12-07 14:59:34 +00:00
|
|
|
Defines in what manner the particles will be accelerated.
|
2020-09-15 07:57:40 +00:00
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
<constants>
|
|
|
|
<constant name="MODE_LINEAR" value="0" enum="Mode">
|
2022-12-07 14:59:34 +00:00
|
|
|
The particles will be accelerated based on their velocity.
|
2020-09-15 07:57:40 +00:00
|
|
|
</constant>
|
|
|
|
<constant name="MODE_RADIAL" value="1" enum="Mode">
|
2022-12-07 14:59:34 +00:00
|
|
|
The particles will be accelerated towards or away from the center.
|
2020-09-15 07:57:40 +00:00
|
|
|
</constant>
|
|
|
|
<constant name="MODE_TANGENTIAL" value="2" enum="Mode">
|
2022-12-07 14:59:34 +00:00
|
|
|
The particles will be accelerated tangentially to the radius vector from center to their position.
|
2020-09-15 07:57:40 +00:00
|
|
|
</constant>
|
|
|
|
<constant name="MODE_MAX" value="3" enum="Mode">
|
2021-08-14 10:38:22 +00:00
|
|
|
Represents the size of the [enum Mode] enum.
|
2020-09-15 07:57:40 +00:00
|
|
|
</constant>
|
|
|
|
</constants>
|
|
|
|
</class>
|