Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

VisualShaderNodeParticleMeshEmitter

Inherits: VisualShaderNodeParticleEmitter < VisualShaderNode < Resource < RefCounted < Object

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

描述

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.

属性

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.