0.2.0-dev Download ZIP
33 lines ·1.7 KB Raw
| 1 | <?xml version="1.0" encoding="UTF-8" ?> |
| 2 | <class name="VisualShaderNodeParticleEmit" 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 forces to emit a particle from a sub-emitter. |
| 5 | </brief_description> |
| 6 | <description> |
| 7 | This node calls the internal [code]emit_subparticle[/code] method. It will emit a particle from the configured sub-emitter and also allows to customize how it's emitted. Requires a sub-emitter assigned to the particles node that is using this shader. |
| 8 | </description> |
| 9 | <tutorials> |
| 10 | </tutorials> |
| 11 | <members> |
| 12 | <member name="flags" type="int" setter="set_flags" getter="get_flags" enum="VisualShaderNodeParticleEmit.EmitFlags" default="31"> |
| 13 | Flags used to override the properties defined in the sub-emitter's process material. |
| 14 | </member> |
| 15 | </members> |
| 16 | <constants> |
| 17 | <constant name="EMIT_FLAG_POSITION" value="1" enum="EmitFlags"> |
| 18 | If enabled, the particle starts with the position defined by this node. |
| 19 | </constant> |
| 20 | <constant name="EMIT_FLAG_ROT_SCALE" value="2" enum="EmitFlags"> |
| 21 | If enabled, the particle starts with the rotation and scale defined by this node. |
| 22 | </constant> |
| 23 | <constant name="EMIT_FLAG_VELOCITY" value="4" enum="EmitFlags"> |
| 24 | If enabled,the particle starts with the velocity defined by this node. |
| 25 | </constant> |
| 26 | <constant name="EMIT_FLAG_COLOR" value="8" enum="EmitFlags"> |
| 27 | If enabled, the particle starts with the color defined by this node. |
| 28 | </constant> |
| 29 | <constant name="EMIT_FLAG_CUSTOM" value="16" enum="EmitFlags"> |
| 30 | If enabled, the particle starts with the [code]CUSTOM[/code] data defined by this node. |
| 31 | </constant> |
| 32 | </constants> |
| 33 | </class> |