ForceOverLifetime 继承自 ParticleGeneratorModule
,用于对粒子添加加速度效果,通常用于模拟 3 维力场效果,比如风。
属性 | 释义 |
---|---|
space | 选择力变化的空间,可以是世界空间或本地空间 |
forceX | ParticleCompositeCurve 对象,表示粒子在其生命周期内的 x 轴力 |
forceY | ParticleCompositeCurve 对象,表示粒子在其生命周期内的 y 轴力 |
forceZ | ParticleCompositeCurve 对象,表示粒子在其生命周期内的 z 轴力 |