2020-09-15 09:57:40 +02:00
<?xml version="1.0" encoding="UTF-8" ?>
2023-03-01 01:44:37 +01:00
<class name= "VisualShaderNodeParticleEmit" inherits= "VisualShaderNode" version= "4.1" xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "../class.xsd" >
2020-09-15 09:57:40 +02:00
<brief_description >
2022-12-07 15:59:34 +01:00
A visual shader node that forces to emit a particle from a sub-emitter.
2020-09-15 09:57:40 +02:00
</brief_description>
<description >
2022-12-07 15:59:34 +01:00
This node internally calls [code]emit_subparticle[/code] shader method. It will emit a particle from the configured sub-emitter and also allows to customize how its emitted. Requires a sub-emitter assigned to the particles node with this shader.
2020-09-15 09:57:40 +02:00
</description>
<tutorials >
</tutorials>
<members >
<member name= "flags" type= "int" setter= "set_flags" getter= "get_flags" enum= "VisualShaderNodeParticleEmit.EmitFlags" default= "31" >
2022-12-07 15:59:34 +01:00
Flags used to override the properties defined in the sub-emitter's process material.
2020-09-15 09:57:40 +02:00
</member>
</members>
<constants >
<constant name= "EMIT_FLAG_POSITION" value= "1" enum= "EmitFlags" >
2022-12-07 15:59:34 +01:00
If enabled, the particle starts with the position defined by this node.
2020-09-15 09:57:40 +02:00
</constant>
<constant name= "EMIT_FLAG_ROT_SCALE" value= "2" enum= "EmitFlags" >
2022-12-07 15:59:34 +01:00
If enabled, the particle starts with the rotation and scale defined by this node.
2020-09-15 09:57:40 +02:00
</constant>
<constant name= "EMIT_FLAG_VELOCITY" value= "4" enum= "EmitFlags" >
2022-12-07 15:59:34 +01:00
If enabled,the particle starts with the velocity defined by this node.
2020-09-15 09:57:40 +02:00
</constant>
<constant name= "EMIT_FLAG_COLOR" value= "8" enum= "EmitFlags" >
2022-12-07 15:59:34 +01:00
If enabled, the particle starts with the color defined by this node.
2020-09-15 09:57:40 +02:00
</constant>
<constant name= "EMIT_FLAG_CUSTOM" value= "16" enum= "EmitFlags" >
2022-12-07 15:59:34 +01:00
If enabled, the particle starts with the [code]CUSTOM[/code] data defined by this node.
2020-09-15 09:57:40 +02:00
</constant>
</constants>
</class>