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

Functions

function XESkeletonInstance new (pNodeTl) end
 
function XESkeletonInstance Apply () end
 
function XESkeletonInstance GetNodeManager () end
 
function XESkeletonInstance UpdateSocket () end
 
function XESkeletonInstance GetSkeletonTemplate () end
 
function XESkeletonInstance GetBindSocketInstance (sokcetName) end
 
function XESkeletonInstance GetBindSocketInstances (socketInstances) end
 
function XESkeletonInstance UpdateSoftBones () end
 
function XESkeletonInstance GetXEBoneInstance (nBoneIndex) end
 
function XESkeletonInstance EnableRenderBone (bEnable) end
 
function XESkeletonInstance IsEnableRenderBone () end
 
function XESkeletonInstance EnableRenderSoftBone (bEnable) end
 
function XESkeletonInstance IsEnableRenderSoftBone () end
 
function XESkeletonInstance EnableRenderBonecollider (bEnable) end
 
function XESkeletonInstance IsEnableRenderBonecollider () end
 
function XESkeletonInstance SelectBone (nIndex) end
 
function XESkeletonInstance GetSelectBone () end
 
function XESkeletonInstance GetXSkeleton () end
 
function XESkeletonInstance SetXSkeleton (pSkeletonIns) end
 
function XESkeletonInstance GetAttachComponent () end
 
function XESkeletonInstance SetBoneSize (fSize) end
 
function XESkeletonInstance GetBoneSize () end
 
function XESkeletonInstance EnableRenderCone (bRender) end
 
function XESkeletonInstance IsEnableRenderCone () end
 
function XESkeletonInstance SetAttachComponent (pComponent) end
 
function XESkeletonInstance ReCreatePhysicsInstance () end
 
function XESkeletonInstance AddSelectedIns (pIns) end
 
function XESkeletonInstance ClearSelectedInsList () end
 
function XESkeletonInstance Release () end
 

Variables

 XESkeletonInstance = {}
 

Function Documentation

◆ AddSelectedIns()

function XESkeletonInstance AddSelectedIns ( pIns  )

添加选中的节点

Parameters
pInsXEUserNode 选中的节点指针
Returns
void

◆ Apply()

function XESkeletonInstance Apply ( )

应用已设置的数据到当前实例

Returns
void

◆ ClearSelectedInsList()

function XESkeletonInstance ClearSelectedInsList ( )

清空选中节点数组

Returns
void

◆ EnableRenderBone()

function XESkeletonInstance EnableRenderBone ( bEnable  )

设置是否允许渲染骨头

Parameters
bEnableboolean
Returns
void

◆ EnableRenderBonecollider()

function XESkeletonInstance EnableRenderBonecollider ( bEnable  )

设置是否允许渲染碰撞体

Parameters
bEnableboolean
Returns
void

◆ EnableRenderCone()

function XESkeletonInstance EnableRenderCone ( bRender  )

设置是否允许渲染骨架

Parameters
bRenderboolean
Returns
void

◆ EnableRenderSoftBone()

function XESkeletonInstance EnableRenderSoftBone ( bEnable  )

设置是否允许渲染软骨

Parameters
bEnableboolean
Returns
void

◆ GetAttachComponent()

function XESkeletonInstance GetAttachComponent ( )

获取骨架附加的模型组件指针

Returns
XEModelComponent

◆ GetBindSocketInstance()

function XESkeletonInstance GetBindSocketInstance ( sokcetName  )

根据名称获取骨架上的某个插槽实例

Parameters
sokcetNamestring
Returns
XEBindSocketInstance

◆ GetBindSocketInstances()

function XESkeletonInstance GetBindSocketInstances ( socketInstances  )

获取当前骨架上的所有插槽实例

Parameters
socketInstancesXEBindSocketInstance[] [out]插槽实例指针数组
Returns
number 插槽个数

◆ GetBoneSize()

function XESkeletonInstance GetBoneSize ( )

获取骨头大小

Returns
number

◆ GetNodeManager()

function XESkeletonInstance GetNodeManager ( )

获取及节点管理器

Returns
XETreeNode__Manager

◆ GetSelectBone()

function XESkeletonInstance GetSelectBone ( )

获取当前选中的骨头索引

Returns
number

◆ GetSkeletonTemplate()

function XESkeletonInstance GetSkeletonTemplate ( )

获取当前骨架实例的模板指针

Returns
XESkeleton

◆ GetXEBoneInstance()

function XESkeletonInstance GetXEBoneInstance ( nBoneIndex  )

根据骨头索引获取骨头实例指针

Parameters
nBoneIndexnumber
Returns
XEBoneInstance

◆ GetXSkeleton()

function XESkeletonInstance GetXSkeleton ( )

获取引擎骨架指针

Returns
XSkeleton

XESkeletonInstance_GetXSkeleton01

Returns
XSkeleton

◆ IsEnableRenderBone()

function XESkeletonInstance IsEnableRenderBone ( )

判断是否允许渲染骨头

Returns
boolean

◆ IsEnableRenderBonecollider()

function XESkeletonInstance IsEnableRenderBonecollider ( )

判断是否允许渲染碰撞体

Returns
boolean

◆ IsEnableRenderCone()

function XESkeletonInstance IsEnableRenderCone ( )

判断是否允许渲染骨架

Returns
boolean

◆ IsEnableRenderSoftBone()

function XESkeletonInstance IsEnableRenderSoftBone ( )

判断是否允许渲染软骨

Returns
boolean

◆ new()

function XESkeletonInstance new ( pNodeTl  )

XESkeletonInstance_new00

Parameters
pNodeTlXESkeleton
Returns
XESkeletonInstance

◆ ReCreatePhysicsInstance()

function XESkeletonInstance ReCreatePhysicsInstance ( )

重新创建物理实例

Returns
boolean

◆ Release()

function XESkeletonInstance Release ( )

释放资源

Returns
void

◆ SelectBone()

function XESkeletonInstance SelectBone ( nIndex  )

设置当前选中的骨头索引

Parameters
nIndexnumber
Returns
void

◆ SetAttachComponent()

function XESkeletonInstance SetAttachComponent ( pComponent  )

设置骨架附加的模型组件

Parameters
pComponentXEModelComponent
Returns
void

◆ SetBoneSize()

function XESkeletonInstance SetBoneSize ( fSize  )

设置骨头大小

Parameters
fSizenumber
Returns
void

◆ SetXSkeleton()

function XESkeletonInstance SetXSkeleton ( pSkeletonIns  )

设置引擎骨架指针

Parameters
pSkeletonInsXSkeleton
Returns
void

◆ UpdateSocket()

function XESkeletonInstance UpdateSocket ( )

更新当前骨架上的所有插槽

Returns
void

◆ UpdateSoftBones()

function XESkeletonInstance UpdateSoftBones ( )

更新所有软骨

Returns
void

Variable Documentation

◆ XESkeletonInstance