AR_Engine_SDK
Functions | Variables
XEEngineInstance.lua File Reference
类 XEEngineInstance 继承关系图:
Inheritance graph
类 XEEngineInstance::XEFrameListener 继承关系图:
Inheritance graph
类 XEEngineInstance::TickListener 继承关系图:
Inheritance graph
类 XEInputEventManager 继承关系图:
Inheritance graph
类 IXMiscStatGroup 继承关系图:
Inheritance graph

Functions

function XEEngineInstance Frame () end
 
function XEEngineInstance GetEngineVersion () end
 
function XEEngineInstance GetEngineVersionValue () end
 
function XEEngineInstance GetEngineVersionCompileTime () end
 
function XEEngineInstance GetImageEffectProcessor () end
 
function XEEngineInstance GetAnimationManager () end
 
function XEEngineInstance GetFxManager () end
 
function XEEngineInstance Get2DPhysicalManager () end
 
function XEEngineInstance GetPhysicalManager () end
 
function XEEngineInstance GetUIManager () end
 
function XEEngineInstance GetGestureManager () end
 
function XEEngineInstance GetAudioManager () end
 
function XEEngineInstance GetDressupManager () end
 
function XEEngineInstance GetViewportManager () end
 
function XEEngineInstance GetEventManager () end
 
function XEEngineInstance GetScriptInterPreterPool () end
 
function XEEngineInstance GetDistributionManager () end
 
function XEEngineInstance SetCurDeltaTime (fDel) end
 
function XEEngineInstance SetTickEnable (bEnable) end
 
function XEEngineInstance GetCurDeltaTime () end
 
function XEEngineInstance SetCurViewPort (pViewport) end
 
function XEEngineInstance SetCurViewports (vViewports) end
 
function XEEngineInstance GetCurViewPort () end
 
function XEEngineInstance GetGameInputEventMgr () end
 
function XEEngineInstance SetGameInputEventMgr (pMgr) end
 
function XEEngineInstance GetAnimAssetCacheManager () end
 
function XEEngineInstance GetAnimCurveFlyControllerManager () end
 
function XEEngineInstance GetMatFxBindingManager () end
 
function XEEngineInstance GetGameplayAbilityManager () end
 
function XEEngineInstance GetGameplayTagsManager () end
 
function XEEngineInstance ReleaseAllWorld () end
 
function XEEngineInstance CreateXEWorld (pWorld) end
 
function XEEngineInstance GetWorldList () end
 
function XEEngineInstance DeleteXEWorld (pWorld) end
 
function XEEngineInstance IsInit () end
 
function XEEngineInstance ReloadResource (pathList) end
 
function XEEngineInstance ReloadResource (strFilePath) end
 
function XEEngineInstance RemoveAllTemplateInWorld (pWorld) end
 
function XEEngineInstance ReleaseAllTemplate () end
 
function XEEngineInstance GetScriptContainerInstance () end
 
function XEEngineInstance AttachBindingScriptAsset (pAssetPath) end
 
function XEEngineInstance DetachBindingScriptInstance () end
 

Variables

 XEEngineInstance = {}
 

Function Documentation

◆ AttachBindingScriptAsset()

function XEEngineInstance AttachBindingScriptAsset ( pAssetPath  )

根据给定路径创建一个绑定脚本实例

Parameters
pAssetPathstring
Returns
boolean

◆ CreateXEWorld()

function XEEngineInstance CreateXEWorld ( pWorld  )

创建世界

Parameters
pWorldXEWorld 为NULL,内部创建一个XEWorld并返回指针;为非NULL,内部直接初始化.
Returns
XEWorld 返回创建的世界指针

◆ DeleteXEWorld()

function XEEngineInstance DeleteXEWorld ( pWorld  )

删除一个世界,pWorld为要删除的世界指针

Parameters
pWorldXEWorld
Returns
void

◆ DetachBindingScriptInstance()

function XEEngineInstance DetachBindingScriptInstance ( )

移除绑定脚本实例

Returns
void

◆ Frame()

function XEEngineInstance Frame ( )

此函数内执行两部分的工作,一是更新引擎资源,例如,对需要进行渲染的3D对象。二是更新 XEEngineInstance 中保存的 XEFrameListener 监听事件。

Returns
void

◆ Get2DPhysicalManager()

function XEEngineInstance Get2DPhysicalManager ( )

获取2D物理管理器指针

Returns
IX2DPhysicalManager

◆ GetAnimAssetCacheManager()

function XEEngineInstance GetAnimAssetCacheManager ( )

获取动画序列资产管理器指针

Returns
XEAnimAssetCacheManager

◆ GetAnimationManager()

function XEEngineInstance GetAnimationManager ( )

获取动画管理器指针

Returns
IXAnimationManager

◆ GetAnimCurveFlyControllerManager()

function XEEngineInstance GetAnimCurveFlyControllerManager ( )

获取飞行管理器指针

Returns
XEAnimFlyCurveControllerManager

◆ GetAudioManager()

function XEEngineInstance GetAudioManager ( )

获取音频管理器指针

Returns
IXAudioEngine

◆ GetCurDeltaTime()

function XEEngineInstance GetCurDeltaTime ( )

获取当前Tick帧间隔

Returns
number

◆ GetCurViewPort()

function XEEngineInstance GetCurViewPort ( )

获取XEGame的当前ViewPort指针

Returns
XEViewport

◆ GetDistributionManager()

function XEEngineInstance GetDistributionManager ( )

获取曲线管理器指针

Returns
XDistributionManager

◆ GetDressupManager()

function XEEngineInstance GetDressupManager ( )

获取换装管理器指针

Returns
IXEDressupManager

◆ GetEngineVersion()

function XEEngineInstance GetEngineVersion ( )

获取Engine当前版本号(xchar*)

Returns
string

◆ GetEngineVersionCompileTime()

function XEEngineInstance GetEngineVersionCompileTime ( )

获取Engine编译时间

Returns
string

◆ GetEngineVersionValue()

function XEEngineInstance GetEngineVersionValue ( )

获取Engine当前版本号(xint32)

Returns
number

◆ GetEventManager()

function XEEngineInstance GetEventManager ( )

获取事件管理器指针

Returns
XEEventManager

◆ GetFxManager()

function XEEngineInstance GetFxManager ( )

获取粒子管理器指针

Returns
IFxManager

◆ GetGameInputEventMgr()

function XEEngineInstance GetGameInputEventMgr ( )

获取Game的输入事件管理器(默认为无)

Returns
XEInputEventManager

◆ GetGameplayAbilityManager()

function XEEngineInstance GetGameplayAbilityManager ( )

XEEngineInstance_GetGameplayAbilityManager00

Returns
XEGameplayAbilityManager

◆ GetGameplayTagsManager()

function XEEngineInstance GetGameplayTagsManager ( )

XEEngineInstance_GetGameplayTagsManager00

Returns
XEGameplayTagsManager

◆ GetGestureManager()

function XEEngineInstance GetGestureManager ( )

获取状态管理器指针

Returns
XGestureManager

◆ GetImageEffectProcessor()

function XEEngineInstance GetImageEffectProcessor ( )

获取滤镜管理器指针

Returns
XImageEffectProcessor

◆ GetMatFxBindingManager()

function XEEngineInstance GetMatFxBindingManager ( )

获取材质曲线效果管理器指针

Returns
XEMatFxBindingManager

◆ GetPhysicalManager()

function XEEngineInstance GetPhysicalManager ( )

获取物理管理器指针

Returns
IXPhysicalManager

◆ GetScriptContainerInstance()

function XEEngineInstance GetScriptContainerInstance ( )

获取绑定脚本实例指针

Returns
XEScriptContainerInstance

◆ GetScriptInterPreterPool()

function XEEngineInstance GetScriptInterPreterPool ( )

获取脚本解释器指针

Returns
XEScriptInterpreterPool

◆ GetUIManager()

function XEEngineInstance GetUIManager ( )

获取UI管理器指针

Returns
IXUIManager

◆ GetViewportManager()

function XEEngineInstance GetViewportManager ( )

获取视口管理器指针

Returns
XEViewportManager

◆ GetWorldList()

function XEEngineInstance GetWorldList ( )

获取当前Game中的世界列表

Returns
XEWorld[]

◆ IsInit()

function XEEngineInstance IsInit ( )

判断是否已经初始化

Returns
boolean

◆ ReleaseAllTemplate()

function XEEngineInstance ReleaseAllTemplate ( )

释放所有模板

Returns
void

◆ ReleaseAllWorld()

function XEEngineInstance ReleaseAllWorld ( )

释放所有世界

Returns
void

◆ ReloadResource() [1/2]

function XEEngineInstance ReloadResource ( pathList  )

重新加载资源

Parameters
pathListstring[] 资源列表
Returns
void 返回创建的世界指针

◆ ReloadResource() [2/2]

function XEEngineInstance ReloadResource ( strFilePath  )

重新加载资源

Parameters
strFilePathstring 加载的资源路径
Returns
void

◆ RemoveAllTemplateInWorld()

function XEEngineInstance RemoveAllTemplateInWorld ( pWorld  )

删除模板

Parameters
pWorldXEWorld 关联的世界
Returns
number 删除的个数

◆ SetCurDeltaTime()

function XEEngineInstance SetCurDeltaTime ( fDel  )

设置当前Tick帧间隔

Parameters
fDelnumber
Returns
void

◆ SetCurViewPort()

function XEEngineInstance SetCurViewPort ( pViewport  )

设置XEGame的当前ViewPort指针

Parameters
pViewportXEViewport ViewPort指针
Returns
void

◆ SetCurViewports()

function XEEngineInstance SetCurViewports ( vViewports  )

XEEngineInstance_SetCurViewports00

Parameters
vViewportsXEViewport[]
Returns
void

◆ SetGameInputEventMgr()

function XEEngineInstance SetGameInputEventMgr ( pMgr  )

设置Game的输入事件管理器(默认为无)

Parameters
pMgrXEInputEventManager
Returns
void

◆ SetTickEnable()

function XEEngineInstance SetTickEnable ( bEnable  )

设置是否允许Tick,如果设置为false,将不执行Tick函数

Parameters
bEnableboolean
Returns
void

Variable Documentation

◆ XEEngineInstance