深入浅出spark粒子特效连接:https://www.cnblogs.com/lyggqm/p/9956344.html
modifier
An abstract class that allows to modify the behaviour of a group of particles over time.
调节器是为了给粒子生命周期过程提供外力的功能,给粒子加上物理功能
它有以下几种:
碰撞弹力设置 collider
collider
Creates and registers a new collider.
Collider::create(float elasticity = 1.0f
)
设置粒子的碰撞弹性系数