AR_Engine_SDK
Functions | Variables
XEBindSocketInstance.lua File Reference
类 XEBindSocketInstance 继承关系图:
Inheritance graph
类 XEBindSocketInstance::Listener 继承关系图:
Inheritance graph

Functions

function XEBindSocketInstance__Listener GetTypeName () end
 
function XEBindSocketInstance__Listener GetName () end
 
function XEBindSocketInstance__Listener SetName (strName) end
 
function XEBindSocketInstance__Listener OnSocketTick (pBindSocketIns, matWorld) end
 
function XEBindSocketInstance__Listener OnSocketRender (pBindSocketIns) end
 
function XEBindSocketInstance new (pBindSocketTl) end
 
function XEBindSocketInstance Release () end
 
function XEBindSocketInstance Apply () end
 
function XEBindSocketInstance UpdateSocket (pMatrix) end
 
function XEBindSocketInstance AttachComponent () end
 
function XEBindSocketInstance DetachComponent () end
 
function XEBindSocketInstance UpdateAttachComponent (pAssetPath, pAssetType, pAssetAnimPath) end
 
function XEBindSocketInstance GetAttachAssetPath () end
 
function XEBindSocketInstance AddListener (pListener) end
 
function XEBindSocketInstance RemoveListener (pListener) end
 
function XEBindSocketInstance FindListener () end
 
function XEBindSocketInstance GetXEBoneInstance () end
 
function XEBindSocketInstance GetXEBindSocketTemplate () end
 
function XEBindSocketInstance GetWorldMatrix (mt4) end
 
function XEBindSocketInstance GetWorldMatrix () end
 
function XEBindSocketInstance GetWorldMatrix (mt4, mt4Absolute) end
 
function XEBindSocketInstance GetWorldMatrix (mt4Absolute) end
 
function XEBindSocketInstance GetListeners () end
 
function XEBindSocketInstance GetAttachComponent () end
 

Variables

 XEBindSocketInstance = {}
 
 XEBindSocketInstance__Listener = {}
 
XEBindSocketInstance Listener = XEBindSocketInstance__Listener
 

Function Documentation

◆ AddListener()

function XEBindSocketInstance AddListener ( pListener  )

添加监听者

Parameters
pListenerXEBindSocketInstance::Listener
Returns
void

◆ Apply()

function XEBindSocketInstance Apply ( )

把已经设置到模板的数据应用到当前实例

Returns
void

◆ AttachComponent()

function XEBindSocketInstance AttachComponent ( )

插槽上附加一个模型组件

Returns
XEActorComponent

◆ DetachComponent()

function XEBindSocketInstance DetachComponent ( )

将附加的模型组件从插槽上解绑

Returns
void

◆ FindListener()

function XEBindSocketInstance FindListener ( )

查找附加的组件对应的监听者指针

Returns
XEBindSocketInstance__Listener

◆ GetAttachAssetPath()

function XEBindSocketInstance GetAttachAssetPath ( )

获取附加的组件资源路径

Returns
string

◆ GetAttachComponent()

function XEBindSocketInstance GetAttachComponent ( )

获取附加的模型组件指针

Returns
XEActorComponent

◆ GetListeners()

function XEBindSocketInstance GetListeners ( )

获取到所有监听者

Returns
Listener[]

◆ GetName()

function XEBindSocketInstance__Listener GetName ( )

XEBindSocketInstance_Listener_GetName00

Returns
string

◆ GetTypeName()

function XEBindSocketInstance__Listener GetTypeName ( )

XEBindSocketInstance_Listener_GetTypeName00

Returns
string

◆ GetWorldMatrix() [1/4]

function XEBindSocketInstance GetWorldMatrix ( mt4  )

获取当前插槽的世界矩阵

Parameters
mt4XMATRIX4 [out]插槽世界矩阵
Returns
void

◆ GetWorldMatrix() [2/4]

function XEBindSocketInstance GetWorldMatrix ( )

获取当前插槽的世界矩阵

Returns
XMATRIX4
void

◆ GetWorldMatrix() [3/4]

function XEBindSocketInstance GetWorldMatrix ( mt4  ,
mt4Absolute   
)

XEBindSocketInstance_GetWorldMatrix02

Parameters
mt4XMATRIX4
mt4AbsoluteXMATRIX4
Returns
void

◆ GetWorldMatrix() [4/4]

function XEBindSocketInstance GetWorldMatrix ( mt4Absolute  )

XEBindSocketInstance_GetWorldMatrix03

Parameters
mt4AbsoluteXMATRIX4
Returns
XMATRIX4
void

◆ GetXEBindSocketTemplate()

function XEBindSocketInstance GetXEBindSocketTemplate ( )

获取插槽实例对应的插槽模板指针

Returns
XEBindSocket

◆ GetXEBoneInstance()

function XEBindSocketInstance GetXEBoneInstance ( )

获取当前插槽节点实例依附的骨头节点实例指针,如果当前节点依附的是一个插槽,那么返回的是依附的插槽实例依附的骨头节点实例

Returns
XEBoneInstance

◆ new()

function XEBindSocketInstance new ( pBindSocketTl  )

XEBindSocketInstance_new00

Parameters
pBindSocketTlXEBindSocket
Returns
XEBindSocketInstance

◆ OnSocketRender()

function XEBindSocketInstance__Listener OnSocketRender ( pBindSocketIns  )

XEBindSocketInstance_Listener_OnSocketRender00

Parameters
pBindSocketInsXEBindSocketInstance
Returns
void

◆ OnSocketTick()

function XEBindSocketInstance__Listener OnSocketTick ( pBindSocketIns  ,
matWorld   
)

XEBindSocketInstance_Listener_OnSocketTick00

Parameters
pBindSocketInsXEBindSocketInstance
matWorldXMATRIX4
Returns
void

◆ Release()

function XEBindSocketInstance Release ( )

释放资源

Returns
void

◆ RemoveListener()

function XEBindSocketInstance RemoveListener ( pListener  )

移除监听者

Parameters
pListenerXEBindSocketInstance::Listener
Returns
void

◆ SetName()

function XEBindSocketInstance__Listener SetName ( strName  )

XEBindSocketInstance_Listener_SetName00

Parameters
strNamestring
Returns
void

◆ UpdateAttachComponent()

function XEBindSocketInstance UpdateAttachComponent ( pAssetPath  ,
pAssetType  ,
pAssetAnimPath   
)

更新附加的组件信息

Parameters
pAssetPathstring 附加的组件资源路径
pAssetTypestring 附加的组件类型
pAssetAnimPathstring 附加的seq动画资源路径
Returns
XEActorComponent

◆ UpdateSocket()

function XEBindSocketInstance UpdateSocket ( pMatrix  )

更新socket

Parameters
pMatrixXMATRIX4
Returns
void

Variable Documentation

◆ Listener

◆ XEBindSocketInstance

◆ XEBindSocketInstance__Listener