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.
Checking the stable version of the documentation...
VisualShaderNodeParticleAccelerator
繼承: VisualShaderNode < Resource < RefCounted < Object
對粒子進行加速的可視著色器節點。
說明
可以在粒子著色器“process”步驟中使用的粒子加速器。會對粒子進行加速。請將其連接至 Velocity 輸出埠。
屬性
|
列舉
enum Mode: 🔗
Mode MODE_LINEAR = 0
粒子會根據速度進行加速。
Mode MODE_RADIAL = 1
粒子會根據朝向中心或遠離中心的方向進行加速。
Mode MODE_TANGENTIAL = 2
粒子從中心到它們位置,將被切向加速到的半徑向量。
Mode MODE_MAX = 3
代表 Mode 列舉的大小。
屬性說明
定義粒子將以何種方式被加速。