Outdated documentation

This documentation page refers to Godot 4.3, and may be outdated or incorrect.
Additionally, this engine version is no longer supported.

Check this page in the stable branch for the latest additions and corrections.

VisualShaderNodeParticleMeshEmitter

Inherits: VisualShaderNodeParticleEmitter < VisualShaderNode < Resource < RefCounted < Object

A visual shader node that makes particles emitted in a shape defined by a Mesh.

Description

VisualShaderNodeParticleEmitter that makes the particles emitted in a shape of the assigned mesh. It will emit from the mesh's surfaces, either all or only the specified one.

Properties

Mesh

mesh

int

surface_index

0

bool

use_all_surfaces

true


Property Descriptions

Mesh mesh 🔗

  • void set_mesh(value: Mesh)

  • Mesh get_mesh()

The Mesh that defines emission shape.


int surface_index = 0 🔗

  • void set_surface_index(value: int)

  • int get_surface_index()

Index of the surface that emits particles. use_all_surfaces must be false for this to take effect.


bool use_all_surfaces = true 🔗

  • void set_use_all_surfaces(value: bool)

  • bool is_use_all_surfaces()

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


User-contributed notes

Please read the User-contributed notes policy before submitting a comment.