首页 > 其他 > 详细

[粒子特效][spark]发射器emitter

时间:2018-11-14 12:11:51      阅读:229      评论:0      收藏:0      [点我收藏+]

深入浅出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

原文:https://www.cnblogs.com/lyggqm/p/9957039.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!