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