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.

VisualShaderNodeParticleEmitter

繼承: VisualShaderNode < Resource < RefCounted < Object

被繼承: VisualShaderNodeParticleBoxEmitter, VisualShaderNodeParticleMeshEmitter, VisualShaderNodeParticleRingEmitter, VisualShaderNodeParticleSphereEmitter

粒子發射器的基底類別。

說明

粒子發射器節點可被用於粒子著色器的“開始”步驟,它們定義粒子的起始位置。將它們連接到位置輸出埠。

屬性

bool

mode_2d

false


屬性說明

bool mode_2d = false 🔗

  • void set_mode_2d(value: bool)

  • bool is_mode_2d()

如果為 true,則此發射器的結果將被投影到 2D 空間。預設情況下為 false,適用於 3D 空間。