AR_Engine_SDK
|
Functions | |
function IXUIActionManager | AddAction (pAction, pTargetNode, bPaused) end |
function IXUIActionManager | RemoveAllActions () end |
function IXUIActionManager | RemoveAllActionsFromTarget (pTargetNode) end |
function IXUIActionManager | RemoveAction (pAction) end |
function IXUIActionManager | GetNumberofRunningActionsInTarget (pTargetNode) end |
function IXUIActionManager | GetNumberOfRunningActions () end |
function IXUIActionManager | PauseTarget (pTargetNode) end |
function IXUIActionManager | ResumeTarget (pTargetNode) end |
function IXUIActionManager | PauseAllRunningActions () end |
function IXUIActionManager | ResumeTargets (vTargetsToResume) end |
function IXUIActionManager | Tick (dt) end |
Variables | |
IXUIActionManager = {} | |
function IXUIActionManager AddAction | ( | pAction | , |
pTargetNode | , | ||
bPaused | |||
) |
function IXUIActionManager GetNumberOfRunningActions | ( | ) |
返回所有正在运行的动作数量。
function IXUIActionManager GetNumberofRunningActionsInTarget | ( | pTargetNode | ) |
返回指定目标下所有正在运行的动作数量。 组合动作被算作一个动作。例子: 如果您正在运行7个动作组成的序列动作(Sequence),这个函数将返回1。 如果你正在运行2个序列动作(Sequence)和5个普通动作,这个函数将返回7。
pTargetNode | XUINode 一个特定的目标 |
function IXUIActionManager PauseAllRunningActions | ( | ) |
暂停所有正在运行的动作,返回一个动作被暂停的目标对象列表
function IXUIActionManager PauseTarget | ( | pTargetNode | ) |
function IXUIActionManager RemoveAction | ( | pAction | ) |
function IXUIActionManager RemoveAllActions | ( | ) |
删除所有动作
function IXUIActionManager RemoveAllActionsFromTarget | ( | pTargetNode | ) |
function IXUIActionManager ResumeTarget | ( | pTargetNode | ) |
function IXUIActionManager ResumeTargets | ( | vTargetsToResume | ) |
function IXUIActionManager Tick | ( | dt | ) |
计算并更新
dt | number |
IXUIActionManager = {} |