Work in progress

Godot documentation is being updated to reflect the latest changes in version 4.0. Some documentation pages may still state outdated information. This banner will tell you if you're reading one of such pages.

The contents of this page are up to date. If you can still find outdated information, please open an issue.

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 ( Mesh value )

  • Mesh get_mesh ( )

The Mesh that defines emission shape.


int surface_index = 0

  • void set_surface_index ( int value )

  • 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 ( bool value )

  • bool is_use_all_surfaces ( )

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