|
AR_Engine_SDK
|


Variables | |
| XEParticleSystemSubviewPrimitive = {} | |
| function XEParticleSystemComponent AddToSubview | ( | pSubviewName | , |
| bRenderOnlyInSubview | , | ||
| bResetupSubview | |||
| ) |
该组件添加到子视图中,子视图位于该组件的所属世界中,要先设置该组件的世界所属
| pSubviewName | string 渲染的子视图名称 |
| bRenderOnlyInSubview | boolean 是否只在子视图中渲染 |
| bResetupSubview | boolean 是否立即重新安装子视图 |
| function XEParticleSystemComponent Create | ( | ) |
创建粒子实例
| function XEParticleSystemSubviewPrimitive Empty | ( | ) |
XEParticleSystemSubviewPrimitive_Empty00
XEParticleSystemComponent_Empty00
| function XEParticleSystemSubviewPrimitive GetAllRenderPrimitives | ( | ) |
获取渲染图元,可能为多个
| function XEParticleSystemComponent GetAssetPath | ( | ) |
获取粒子资源路径
| function XEParticleSystemComponent GetCusAABB | ( | pfRadius | ) |
| function XEParticleSystemComponent GetFxInstance | ( | ) |
获取引擎封装的粒子实例指针
| function XEParticleSystemComponent GetRenderPrimitive | ( | ) |
获取引擎渲染图元
| function XEParticleSystemComponent IsAutoActive | ( | ) |
获取粒子是否是自动激活状态
| function XEParticleSystemComponent IsInSubview | ( | pSubviewName | ) |
是否已经存在于一个子视图中
| pSubviewName | string 指定从子视图的名称,如果为空,则判定是否存在于任意一个关联的子视图中 |
| function XEParticleSystemComponent LoadAsset | ( | pPath | ) |
加载粒子资源
| pPath | string 粒子资源路径 |
| function XEParticleSystemComponent new | ( | ) |
XEParticleSystemComponent_new00
| function XEParticleSystemComponent PlayParticlSystem | ( | ) |
恢复播放粒子系统
| function XEParticleSystemComponent Release | ( | ) |
释放资源
| function XEParticleSystemComponent RemoveFromSubview | ( | bResetupSubview | , |
| pSubviewName | |||
| ) |
从指定子视图中删除
| bResetupSubview | boolean 是否立即重新安装子视图 |
| pSubviewName | string 指定从子视图中移除的名称,如果为空,则该渲染图元将会从所有关联子视图中移除。 |
| function XEParticleSystemComponent Render | ( | pViewport | ) |
| function XEParticleSystemComponent RestartParticleSystem | ( | ) |
重新开始播放粒子系统
| function XEParticleSystemComponent SetAutoActive | ( | bAuto | ) |
设置粒子自动激活状态
| bAuto | boolean |
| function XEParticleSystemComponent SetTimeRadio | ( | fRadio | ) |
设置粒子播放速度
| fRadio | number |
| function XEParticleSystemComponent StopParticleSystem | ( | ) |
停止播放粒子系统
| function XEParticleSystemComponent Tick | ( | fDel | , |
| bForceTick | |||
| ) |
更新当前组件的数据,此函数每帧都会被调用
| fDel | number 每帧更新的时间间隔(ms) |
| bForceTick | boolean 是否强制Tick.如果为true,不管当前组件是否隐藏,都会更新;如果为false,当前组件如果隐藏时不更新。 |
1.8.15