Skip to content

Latest commit

 

History

History
102 lines (63 loc) · 4.41 KB

class_visualshadernodeparticlemeshemitter.rst

File metadata and controls

102 lines (63 loc) · 4.41 KB
github_url:hide

VisualShaderNodeParticleMeshEmitter

Inherits: :ref:`VisualShaderNodeParticleEmitter<class_VisualShaderNodeParticleEmitter>` < :ref:`VisualShaderNode<class_VisualShaderNode>` < :ref:`Resource<class_Resource>` < :ref:`RefCounted<class_RefCounted>` < :ref:`Object<class_Object>`

A visual shader node that makes particles emitted in a shape defined by a :ref:`Mesh<class_Mesh>`.

.. rst-class:: classref-introduction-group

Description

:ref:`VisualShaderNodeParticleEmitter<class_VisualShaderNodeParticleEmitter>` that makes the particles emitted in a shape of the assigned :ref:`mesh<class_VisualShaderNodeParticleMeshEmitter_property_mesh>`. It will emit from the mesh's surfaces, either all or only the specified one.

.. rst-class:: classref-reftable-group

Properties

:ref:`Mesh<class_Mesh>` :ref:`mesh<class_VisualShaderNodeParticleMeshEmitter_property_mesh>`  
:ref:`int<class_int>` :ref:`surface_index<class_VisualShaderNodeParticleMeshEmitter_property_surface_index>` 0
:ref:`bool<class_bool>` :ref:`use_all_surfaces<class_VisualShaderNodeParticleMeshEmitter_property_use_all_surfaces>` true
.. rst-class:: classref-section-separator


.. rst-class:: classref-descriptions-group

Property Descriptions

.. rst-class:: classref-property

:ref:`Mesh<class_Mesh>` mesh

.. rst-class:: classref-property-setget

The :ref:`Mesh<class_Mesh>` that defines emission shape.

.. rst-class:: classref-item-separator


.. rst-class:: classref-property

:ref:`int<class_int>` surface_index = 0

.. rst-class:: classref-property-setget

Index of the surface that emits particles. :ref:`use_all_surfaces<class_VisualShaderNodeParticleMeshEmitter_property_use_all_surfaces>` must be false for this to take effect.

.. rst-class:: classref-item-separator


.. rst-class:: classref-property

:ref:`bool<class_bool>` use_all_surfaces = true

.. rst-class:: classref-property-setget

If true, the particles will emit from all surfaces of the mesh.