2021-11-05 20:57:24 +01:00
<?xml version="1.0" encoding="UTF-8" ?>
2023-03-01 01:44:37 +01:00
<class name= "VisualShaderNodeParticleMeshEmitter" inherits= "VisualShaderNodeParticleEmitter" version= "4.1" xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "../class.xsd" >
2021-11-05 20:57:24 +01:00
<brief_description >
2022-12-07 15:59:34 +01:00
A visual shader node that makes particles emitted in a shape defined by a [Mesh].
2021-11-05 20:57:24 +01:00
</brief_description>
<description >
2022-12-07 15:59:34 +01:00
[VisualShaderNodeParticleEmitter] that makes the particles emitted in a shape of the assigned [member mesh]. It will emit from the mesh's surfaces, either all or only the specified one.
2021-11-05 20:57:24 +01:00
</description>
<tutorials >
</tutorials>
<members >
<member name= "mesh" type= "Mesh" setter= "set_mesh" getter= "get_mesh" >
2022-12-07 15:59:34 +01:00
The [Mesh] that defines emission shape.
2021-11-05 20:57:24 +01:00
</member>
<member name= "surface_index" type= "int" setter= "set_surface_index" getter= "get_surface_index" default= "0" >
2022-12-07 15:59:34 +01:00
Index of the surface that emits particles. [member use_all_surfaces] must be [code]false[/code] for this to take effect.
2021-11-05 20:57:24 +01:00
</member>
<member name= "use_all_surfaces" type= "bool" setter= "set_use_all_surfaces" getter= "is_use_all_surfaces" default= "true" >
2022-12-07 15:59:34 +01:00
If [code]true[/code], the particles will emit from all surfaces of the mesh.
2021-11-05 20:57:24 +01:00
</member>
</members>
</class>