[粒子特效][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的主要内容,如果未能解决你的问题,请参考以下文章

Unity 3D学习笔记四十二:粒子特效

ue4粒子特效最大生成数量

iOS 烟花撒花效果,图层渐变,图层倒影特效。CAEmitterLayer粒子发射器

粒子系统

ae特效里cannon是啥意思

Unity 特效 粒子 ParticleSystem 划重点