|
AR_Engine_SDK
|

Functions | |
| function XEOutlineComponent | new () end |
| function XEOutlineComponent | Initialize (pActor) end |
| @type string @readonly Component类型名 More... | |
| function XEOutlineComponent | Release () end |
| function XEOutlineComponent | Tick (fDel, bForceTick) end |
| function XEOutlineComponent | Render (pViewport) end |
| function XEOutlineComponent | UpdateOutline () end |
| function XEOutlineComponent | SetOutlineWidth (fLineWidth, bApplyToMtl) end |
| function XEOutlineComponent | GetOutlineWidth () end |
| function XEOutlineComponent | SetOutlineColor (color, bApplyToMtl) end |
| function XEOutlineComponent | GetOutlineColor () end |
Variables | |
| XEOutlineComponent = {} | |
| function XEOutlineComponent GetOutlineColor | ( | ) |
获取描边线的颜色
| function XEOutlineComponent GetOutlineWidth | ( | ) |
获取描边线的宽度
| function XEOutlineComponent Initialize | ( | pActor | ) |
@type string @readonly Component类型名
根据pActor初始化当前组件的部分数据,包含当前组件所属的XEActor及当前组件的索引等
| pActor | XEActor 当前组件所属的XEActor,一般而言,每个XEActor都至少包含一个组件 |
| function XEOutlineComponent new | ( | ) |
XEOutlineComponent_new00
| function XEOutlineComponent Release | ( | ) |
释放资源
| function XEOutlineComponent Render | ( | pViewport | ) |
| function XEOutlineComponent SetOutlineColor | ( | color | , |
| bApplyToMtl | |||
| ) |
| function XEOutlineComponent SetOutlineWidth | ( | fLineWidth | , |
| bApplyToMtl | |||
| ) |
设置描边线的宽度
| fLineWidth | number 线宽值 |
| bApplyToMtl | boolean bApplyToMtl是否应用到材质 |
| function XEOutlineComponent Tick | ( | fDel | , |
| bForceTick | |||
| ) |
更新当前组件的数据,此函数每帧都会被调用
| fDel | number 每帧更新的时间间隔(ms) |
| bForceTick | boolean 是否强制Tick.如果为true,不管当前组件是否隐藏,都会更新;如果为false,当前组件如果隐藏时不更新。 |
| function XEOutlineComponent UpdateOutline | ( | ) |
更新描边
| XEOutlineComponent = {} |
1.8.15