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 枚举的大小。
属性说明
定义粒子将以何种方式被加速。