Skip to content
0.2.0-dev Download ZIP
22 lines ·1.2 KB Raw
1<?xml version="1.0" encoding="UTF-8" ?>
2<class name="VisualShaderNodeParticleMeshEmitter" inherits="VisualShaderNodeParticleEmitter" 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 makes particles emitted in a shape defined by a [Mesh].
5 </brief_description>
6 <description>
7 [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.
8 </description>
9 <tutorials>
10 </tutorials>
11 <members>
12 <member name="mesh" type="Mesh" setter="set_mesh" getter="get_mesh">
13 The [Mesh] that defines emission shape.
14 </member>
15 <member name="surface_index" type="int" setter="set_surface_index" getter="get_surface_index" default="0">
16 Index of the surface that emits particles. [member use_all_surfaces] must be [code]false[/code] for this to take effect.
17 </member>
18 <member name="use_all_surfaces" type="bool" setter="set_use_all_surfaces" getter="is_use_all_surfaces" default="true">
19 If [code]true[/code], the particles will emit from all surfaces of the mesh.
20 </member>
21 </members>
22</class>