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

Functions

function XESceneSequenceComponent new () end
 
function XESceneSequenceComponent Release () end
 
function XESceneSequenceComponent Tick (fDel, bForceTick) end
 
function XESceneSequenceComponent LoadAsset (pPath) end
 
function XESceneSequenceComponent PendingPlay (bForcePlay) end
 
function XESceneSequenceComponent Unload () end
 
function XESceneSequenceComponent ChangeBindingActor (szOldActorName, pNewActor, szSpecificNodeName, szSpecificNodeType, bNodeTypeFuzzyFind) end
 
function XESceneSequenceComponent GetSequenceInstance () end
 
function XESceneSequenceComponent GetAssetPath () end
 

Variables

 XESceneSequenceComponent = {}
 

Function Documentation

◆ ChangeBindingActor()

function XESceneSequenceComponent ChangeBindingActor ( szOldActorName  ,
pNewActor  ,
szSpecificNodeName  ,
szSpecificNodeType  ,
bNodeTypeFuzzyFind   
)

替换过场动画中绑定的Actor

Parameters
szOldActorNamestring 被替换的旧的Actorname
pNewActorXEActor 新的Actor
szSpecificNodeNamestring 被替换的Actor节点名称,可为NULL
szSpecificNodeTypestring 被替换的Actor节点类型
bNodeTypeFuzzyFindboolean 是否启用模糊查询
Returns
boolean

◆ GetAssetPath()

function XESceneSequenceComponent GetAssetPath ( )

获取过场动画资源路径

Returns
string

◆ GetSequenceInstance()

function XESceneSequenceComponent GetSequenceInstance ( )

获取过场动画实例

Returns
XESequencerInstance

XESceneSequenceComponent_GetSequenceInstance01

Returns
XESequencerInstance

◆ LoadAsset()

function XESceneSequenceComponent LoadAsset ( pPath  )

加载过场动画资源

Parameters
pPathstring 过场动画资源路径
Returns
boolean

◆ new()

function XESceneSequenceComponent new ( )

XESceneSequenceComponent_new00

Returns
XESceneSequenceComponent

◆ PendingPlay()

function XESceneSequenceComponent PendingPlay ( bForcePlay  )

在下一帧播放[避免引擎时间间隔过长]

Parameters
bForcePlayboolean 是否强制播放,不考虑是否开启自动播放、是否在运行时世界
Returns
boolean

◆ Release()

function XESceneSequenceComponent Release ( )

释放资源

Returns
void

◆ Tick()

function XESceneSequenceComponent Tick ( fDel  ,
bForceTick   
)

更新当前组件的数据,此函数每帧都会被调用

Parameters
fDelnumber 每帧更新的时间间隔(ms)
bForceTickboolean 是否强制Tick.如果为true,不管当前组件是否隐藏,都会更新;如果为false,当前组件如果隐藏时不更新。
Returns
void

◆ Unload()

function XESceneSequenceComponent Unload ( )

释放过场动画资源

Returns
void

Variable Documentation

◆ XESceneSequenceComponent