|
AR_Engine_SDK
|
#include <FxElement.h>

函数 | |
| function FxElement | CanComplete () end |
| function FxElement | GetMaxParticles () end |
| function FxElement | Clone () end |
| function FxElement | IsParticleSystem () end |
| function FxElement | SetEnabled (bSet) end |
| function FxElement | IsEnabled () end |
| function FxElement | GetName () end |
| function FxElement | SetName (strName) end |
| function FxElement | GetType () end |
| function FxElement | GetFxTemplate () end |
| function FxElement | SetMaterialInstanceParam (szName, val) end |
| function FxElement | ClearMaterialInstanceParam (szName) end |
| function FxElement | SetMaterialInstanceTextureParam (szName, pTexture) end |
| function FxElement | ClearMaterialInstanceTextureParam (szName) end |
变量 | |
| FxElement = {} | |
| function FxElement CanComplete | ( | ) |
是否可以完成,如:一个粒子系统有Loop次数大于0,则认为是可以完成的
| function FxElement ClearMaterialInstanceParam | ( | szName | ) |
清除材质参数
| szName | string 材质名称 |
| function FxElement ClearMaterialInstanceTextureParam | ( | szName | ) |
清除材质纹理参数
| szName | string 材质名称 |
| function FxElement Clone | ( | ) |
复制一个完全相同的自身,不添加到Template中,如果之后手动添加到了Template中,不需要delete,否则需要自己delete
| function FxElement GetFxTemplate | ( | ) |
获取模板指针
| function FxElement GetMaxParticles | ( | ) |
获取最大粒子数
| function FxElement GetName | ( | ) |
获取名称
| function FxElement GetType | ( | ) |
获取元素类型
| function FxElement IsEnabled | ( | ) |
判断是否启用
| function FxElement IsParticleSystem | ( | ) |
判断是否是粒子系统
| function FxElement SetEnabled | ( | bSet | ) |
设置是否启用
| bSet | boolean 是否启用 |
| function FxElement SetMaterialInstanceParam | ( | szName | , |
| val | |||
| ) |
| function FxElement SetMaterialInstanceTextureParam | ( | szName | , |
| pTexture | |||
| ) |
| function FxElement SetName | ( | strName | ) |
设置元素名称
| strName | string |
| FxElement = {} |