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.

VisualShaderNodeParticleEmit

繼承: VisualShaderNode < Resource < RefCounted < Object

一種視覺化著色器節點,強制從子發射器中發射一個粒子。

說明

This node calls the internal emit_subparticle method. It will emit a particle from the configured sub-emitter and also allows to customize how it's emitted. Requires a sub-emitter assigned to the particles node that is using this shader.

屬性

EmitFlags

flags

31


列舉

enum EmitFlags: 🔗

EmitFlags EMIT_FLAG_POSITION = 1

如果啟用,則粒子從該節點所定義的位置開始。

EmitFlags EMIT_FLAG_ROT_SCALE = 2

如果啟用,則粒子從該節點所定義的旋轉和縮放開始。

EmitFlags EMIT_FLAG_VELOCITY = 4

如果啟用,則粒子從該節點所定義的速度開始。

EmitFlags EMIT_FLAG_COLOR = 8

如果啟用,則粒子從該節點所定義的顏色開始。

EmitFlags EMIT_FLAG_CUSTOM = 16

如果啟用,則粒子從該節點所定義的 CUSTOM 自訂資料開始。


屬性說明

EmitFlags flags = 31 🔗

用於覆蓋子發射器處理材質中定義的屬性的旗標。