AR_Engine_SDK
|
Functions | |
function XETreeNode | new () end |
function XETreeNode__Manager | AddTreeNode (pNode) end |
function XETreeNode__Manager | RemoveTreeNode (pNode, bIncludeChild, bReleaseMemory, bReleaseNodes) end |
function XETreeNode__Manager | RemoveSubTreeNode (pRootNode, bReleaseMemory, bReleaseNodes) end |
function XETreeNode__Manager | RemoveTree (pNodeContext, bReleaseNodes) end |
function XETreeNode__Manager | RemoveTreeExceptNode (pNodeExcept, bReleaseNodes) end |
function XETreeNode__Manager | RemoveAllTreeNodes (bReleaseNodes) end |
function XETreeNode__Manager | SetOwnerWorld (pWorld) end |
function XETreeNode__Manager | GetOwnerWolrd () end |
function XETreeNode__Manager | GetNodeList () end |
function XETreeNode__Manager | GetNodesOfType (strNodeType, nl, pNodeContext) end |
function XETreeNode__Manager | GetNodesOfType (strNodeType, pNodeContext) end |
function XETreeNode__Manager | FindTreeNode (strNodeName, strNodeType, pNodeContext) end |
function XETreeNode__Manager | HasTreeNode (pNode) end |
function XETreeNode__Manager | NodeDelayDelete (pNode) end |
function XETreeNode | AddParent (manager, parent, eAppend, specificIndex) end |
function XETreeNode | AddChild (manager, child, eAppend, specificIndex) end |
function XETreeNode | RemoveAllChildren () end |
function XETreeNode | RemoveFromParent () end |
function XETreeNode | RemoveChild (child) end |
function XETreeNode | RemoveParent (parent) end |
function XETreeNode | HasParent () end |
function XETreeNode | HasChild (node) end |
function XETreeNode | HasChild () end |
function XETreeNode | HasTreeNodeInOwnTree (node) end |
function XETreeNode | GetParentCount () end |
function XETreeNode | GetChildCount () end |
function XETreeNode | GetChildIndex (child) end |
function XETreeNode | GetIndex (pParent) end |
function XETreeNode | GetParentIterator () end |
function XETreeNode | GetChildIterator () end |
function XETreeNode | GetParentNodeList () end |
function XETreeNode | GetChildNodeList () end |
function XETreeNode | SwapChildren (pNode1, pNode2) end |
function XETreeNode | GetRoot () end |
function XETreeNode | GetFirstParent () end |
function XETreeNode | TravelNode (container, nodetype, fuzzy, recursion) end |
function XETreeNode | TravelNode (nodetype, fuzzy, recursion) end |
function XETreeNode | GetNodeManager () end |
function XETreeNode | GetNodeName () end |
function XETreeNode | GetTypeName () end |
Variables | |
XETreeNode = {} | |
XETreeNode | ANM_APPEND_TO_TAIL = 0 |
XETreeNode | ANM_INSERT_TO_HEAD = 0 |
XETreeNode | ANM_INSERT_TO_SPECIFIC = 0 |
function XETreeNode AddChild | ( | manager | , |
child | , | ||
eAppend | , | ||
specificIndex | |||
) |
添加子节点
manager | XETreeNode::Manager 树节点管理器 |
child | XETreeNode 子节点指针 |
eAppend | number 添加模式,默认为ANM_APPEND_TO_TAIL |
specificIndex | number 指定位置,默认为空,当模式选择ANM_INSERT_TO_SPECIFIC,才需要传入此变量 |
function XETreeNode AddParent | ( | manager | , |
parent | , | ||
eAppend | , | ||
specificIndex | |||
) |
添加父节点
manager | XETreeNode::Manager 树节点管理器 |
parent | XETreeNode 父节点指针 |
eAppend | number 添加模式,默认为ANM_APPEND_TO_TAIL |
specificIndex | number 指定位置,默认为空,当模式选择ANM_INSERT_TO_SPECIFIC,才需要传入此变量 |
function XETreeNode__Manager AddTreeNode | ( | pNode | ) |
function XETreeNode__Manager FindTreeNode | ( | strNodeName | , |
strNodeType | , | ||
pNodeContext | |||
) |
查找指定节点
strNodeName | string 节点名称 |
strNodeType | string 节点类型 |
pNodeContext | XETreeNode 想要获取的节点所在树上的某个已知节点 |
function XETreeNode GetChildCount | ( | ) |
获取子节点个数
function XETreeNode GetChildIndex | ( | child | ) |
function XETreeNode GetChildIterator | ( | ) |
获取子节点迭代器
function XETreeNode GetChildNodeList | ( | ) |
获取直接子节点列表
function XETreeNode GetFirstParent | ( | ) |
获取第一个父节点
function XETreeNode GetIndex | ( | pParent | ) |
function XETreeNode__Manager GetNodeList | ( | ) |
获取节点列表
function XETreeNode GetNodeManager | ( | ) |
获取节点管理器
function XETreeNode GetNodeName | ( | ) |
XETreeNode_GetNodeName00
function XETreeNode__Manager GetNodesOfType | ( | strNodeType | , |
nl | , | ||
pNodeContext | |||
) |
获取指定节点类型的节点列表
strNodeType | string 节点类型 |
nl | XETreeNode[] [out]节点列表 |
pNodeContext | XETreeNode 想要获取的节点所在树上的某个已知节点 |
function XETreeNode__Manager GetNodesOfType | ( | strNodeType | , |
pNodeContext | |||
) |
XETreeNode_Manager_GetNodesOfType01
strNodeType | string |
pNodeContext | XETreeNode |
function XETreeNode__Manager GetOwnerWolrd | ( | ) |
获取所属世界
function XETreeNode GetParentCount | ( | ) |
获取父节点个数
function XETreeNode GetParentIterator | ( | ) |
获取父节点迭代器
function XETreeNode GetParentNodeList | ( | ) |
获取直接父节点列表
function XETreeNode GetRoot | ( | ) |
获取根节点
function XEFilterThinFace GetTypeName | ( | ) |
XETreeNode_GetTypeName00
StandbyAnimation_GetTypeName00
FaceExpression_GetTypeName00
GestureExpression_GetTypeName00
SpinchToScale_GetTypeName00
PressToDrag_GetTypeName00
TapToPlace_GetTypeName00
TapToPlay_GetTypeName00
XEImg2DScreenSequenceFrameActor_GetTypeName00
XEFilterThinFace_GetTypeName00
function XETreeNode HasChild | ( | node | ) |
function XETreeNode HasChild | ( | ) |
判断是否含有子节点
function XETreeNode HasParent | ( | ) |
判断是否含有父节点
function XETreeNode__Manager HasTreeNode | ( | pNode | ) |
function XETreeNode HasTreeNodeInOwnTree | ( | node | ) |
function XETreeNode new | ( | ) |
function XETreeNode__Manager NodeDelayDelete | ( | pNode | ) |
function XETreeNode RemoveAllChildren | ( | ) |
删除所有子节点
function XETreeNode__Manager RemoveAllTreeNodes | ( | bReleaseNodes | ) |
释放所有树节点
bReleaseNodes | boolean 是否释放节点资源 |
function XETreeNode RemoveChild | ( | child | ) |
function XETreeNode RemoveFromParent | ( | ) |
从父节点移除
function XETreeNode RemoveParent | ( | parent | ) |
function XETreeNode__Manager RemoveSubTreeNode | ( | pRootNode | , |
bReleaseMemory | , | ||
bReleaseNodes | |||
) |
删除子树节点
pRootNode | XETreeNode 子树节点指针 |
bReleaseMemory | boolean 是否删除内存 |
bReleaseNodes | boolean 是否释放节点资源 |
function XETreeNode__Manager RemoveTree | ( | pNodeContext | , |
bReleaseNodes | |||
) |
删除节点所在的整个树
pNodeContext | XETreeNode 节点指针 |
bReleaseNodes | boolean 是否释放节点资源 |
function XETreeNode__Manager RemoveTreeExceptNode | ( | pNodeExcept | , |
bReleaseNodes | |||
) |
删除节点所在的整个树,不包括该节点
pNodeExcept | XETreeNode 节点指针 |
bReleaseNodes | boolean 是否释放节点资源 |
function XETreeNode__Manager RemoveTreeNode | ( | pNode | , |
bIncludeChild | , | ||
bReleaseMemory | , | ||
bReleaseNodes | |||
) |
删除一个节点
pNode | XETreeNode 节点指针 |
bIncludeChild | boolean 是否删除该节点子节点 |
bReleaseMemory | boolean 是否删除内存 |
bReleaseNodes | boolean 是否释放节点资源 |
function XETreeNode__Manager SetOwnerWorld | ( | pWorld | ) |
function XETreeNode SwapChildren | ( | pNode1 | , |
pNode2 | |||
) |
function XETreeNode TravelNode | ( | container | , |
nodetype | , | ||
fuzzy | , | ||
recursion | |||
) |
查找指定类型的节点
container | XETreeNode[] [out]节点列表 |
nodetype | string 指定节点类型 |
fuzzy | boolean 是否模糊查询 |
recursion | boolean 是否递归遍历 |
function XETreeNode TravelNode | ( | nodetype | , |
fuzzy | , | ||
recursion | |||
) |
XETreeNode_TravelNode01
nodetype | string |
fuzzy | boolean |
recursion | boolean |
XETreeNode ANM_APPEND_TO_TAIL = 0 |
XETreeNode ANM_INSERT_TO_HEAD = 0 |
XETreeNode ANM_INSERT_TO_SPECIFIC = 0 |
XETreeNode = {} |