AR_Engine_SDK
|
Functions | |
function XEMeshAppliqueComponent__XEAppliqueInfo | new () end |
@type number More... | |
function XEMeshAppliqueComponent__XEMeshAppliqueOperater | Release () end |
function XEMeshAppliqueComponent | Initialize (pActor) end |
@type string @readonly Component类型名 More... | |
function XEMeshAppliqueComponent | Tick (fDel, bForceTick) end |
function XEMeshAppliqueComponent | Render (pViewport) end |
function XEMeshAppliqueComponent | PasteMeshApplique (info) end |
function XEMeshAppliqueComponent | RemoveMeshApplique (pAppliqueOper) end |
function XEMeshAppliqueComponent | RemoveMeshApplique (nIndex) end |
function XEMeshAppliqueComponent | GetAppliqueOperaters () end |
function XEMeshAppliqueComponent GetAppliqueOperaters | ( | ) |
获取粘贴的补丁指针数组
function XEMeshAppliqueComponent Initialize | ( | pActor | ) |
@type string @readonly Component类型名
根据pActor初始化当前组件的部分数据,包含当前组件所属的XEActor及当前组件的索引等
pActor | XEActor 当前组件所属的XEActor,一般而言,每个XEActor都至少包含一个组件 |
function XEMeshAppliqueComponent__XEAppliqueInfo new | ( | ) |
@type number
@type XEMeshAppliqueComponent::XEAppliqueInfo
XEMeshAppliqueComponent_XEAppliqueInfo_new00
@type number @type number[] XEMeshAppliqueComponent_XEMeshAppliqueOperater_new00
@type number @type number @type XEModelComponent @type string @type number @type XEMeshAppliqueOperater[] XEMeshAppliqueComponent_XEAppliqueOperater_new00
XEMeshAppliqueComponent_new00
function XEMeshAppliqueComponent PasteMeshApplique | ( | info | ) |
在该组件的父组件对应的模型skin的Mesh上粘贴补丁
info | XEMeshAppliqueComponent::XEAppliqueInfo 要粘贴的补丁信息 |
function XEMeshAppliqueComponent__XEMeshAppliqueOperater Release | ( | ) |
XEMeshAppliqueComponent_XEMeshAppliqueOperater_Release00
XEMeshAppliqueComponent_XEAppliqueOperater_Release00
XEMeshAppliqueComponent_Release00
function XEMeshAppliqueComponent RemoveMeshApplique | ( | pAppliqueOper | ) |
根据补丁指针移除补丁
pAppliqueOper | XEMeshAppliqueComponent::XEAppliqueOperater 要移除的补丁指针 |
function XEMeshAppliqueComponent RemoveMeshApplique | ( | nIndex | ) |
根据补丁索引移除补丁
nIndex | number 要移除的补丁索引 |
function XEMeshAppliqueComponent Render | ( | pViewport | ) |
function XEMeshAppliqueComponent Tick | ( | fDel | , |
bForceTick | |||
) |
更新当前组件的数据,此函数每帧都会被调用
fDel | number 每帧更新的时间间隔(ms) |
bForceTick | boolean 是否强制Tick.如果为true,不管当前组件是否隐藏,都会更新;如果为false,当前组件如果隐藏时不更新。 |
XEMeshAppliqueComponent__XEAppliqueInfo eType = 0 |
@type number 补丁方式, XE_APLQ_PT_UV: 通过UV匹配
XEMeshAppliqueComponent__XEAppliqueInfo fExpansionMesh = 0 |
@type number 补丁网格,每个顶点向外位移距离,(理论上补丁网格和原模型会完全贴附,但是可能由于计算误差,导致由微小的间隙而出现的Z冲突,此值为补救方法。原模型为静态模型时,现状是不需要此值)(暴露给编辑器)
XEMeshAppliqueComponent__XEAppliqueInfo fPosToUVScale = 0 |
@type number 位置转UV的缩放
XEMeshAppliqueComponent__XEAppliqueInfo fUVMatchDevi = 0 |
@type number
XEMeshAppliqueComponent__XEAppliqueInfo strAppliqueModelFile = '' |
@type string
XEMeshAppliqueComponent__XEAppliqueInfo strOriginMeshName = '' |
@type string 原模型被补的mesh(暴露给编辑器)
XEMeshAppliqueComponent__XEAppliqueInfo strOriginSkin = '' |
@type string 原模型被补的skin名字 (不是路径,暴露给编辑器)
XEMeshAppliqueComponent__XEAppliqueInfo vPosToUVOffset = {} |
XEMeshAppliqueComponent XE_APLQ_PT_NUM = 0 |
XEMeshAppliqueComponent XE_APLQ_PT_UV = 0 |
XEMeshAppliqueComponent XEAppliqueInfo = XEMeshAppliqueComponent__XEAppliqueInfo |