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.

VisualShaderNodeParticleEmit

Inherits: VisualShaderNode < Resource < RefCounted < Object

A visual shader node that forces to emit a particle from a sub-emitter.

Description

This node internally calls emit_subparticle shader method. It will emit a particle from the configured sub-emitter and also allows to customize how its emitted. Requires a sub-emitter assigned to the particles node with this shader.

Properties

EmitFlags

flags

31


Enumerations

enum EmitFlags: 🔗

EmitFlags EMIT_FLAG_POSITION = 1

If enabled, the particle starts with the position defined by this node.

EmitFlags EMIT_FLAG_ROT_SCALE = 2

If enabled, the particle starts with the rotation and scale defined by this node.

EmitFlags EMIT_FLAG_VELOCITY = 4

If enabled,the particle starts with the velocity defined by this node.

EmitFlags EMIT_FLAG_COLOR = 8

If enabled, the particle starts with the color defined by this node.

EmitFlags EMIT_FLAG_CUSTOM = 16

If enabled, the particle starts with the CUSTOM data defined by this node.


Property Descriptions

EmitFlags flags = 31 🔗

Flags used to override the properties defined in the sub-emitter's process material.


User-contributed notes

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