[粒子特效][spark]发射器emitter
Posted lyggqm
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了[粒子特效][spark]发射器emitter相关的知识,希望对你有一定的参考价值。
深入浅出spark粒子特效连接:https://www.cnblogs.com/lyggqm/p/9956344.html
eimtter:
上图是spark源码中发射器emitter的框架
我们开始逐个分析:
1.normal
An emitter that emits particles following a Zone normals.
The Zone used to derive the direction of emission can either be the emitter‘s zone or another zone that can be set with setNormalZone(Zone*).
If the normal zone is NULL the emitter‘s zone is used.
这里大家看到zone,如果有不理解,我在本文最后有大致介绍,这里就当成一个固定区域就行了
关于zone:
这就各种形状的区域。
以上是关于[粒子特效][spark]发射器emitter的主要内容,如果未能解决你的问题,请参考以下文章