AR_Engine_SDK
载入中...
搜索中...
未找到
函数 | 变量
Director.lua 文件参考

函数

function xes__Director GetInstance ()
 
function xes__Director GetVersion ()
 
function xes__Director GetVersionNum ()
 
function xes__Director GetPlatform ()
 
function xes__Director ResizeWindow (width, height)
 
function xes__Director ShowDebugInfo (show)
 
function xes__Director PrintEngineEnvironment ()
 
function xes__Director SetLogEnable (logEnable)
 
function xes__Director SetEngineLogEnable (logEnable)
 
function xes__Director GetViewport ()
 
function xes__Director ClearBackground ()
 
function xes__Director EnableClearColor (bClearColor)
 
function xes__Director GetEventDispatcher ()
 
function xes__Director GetEngine ()
 
function xes__Director GetAnimationManager ()
 
function xes__Director GetDressupManager ()
 
function xes__Director getMagicCore ()
 
function xes__Director PushScene (wc)
 
function xes__Director PopScene ()
 
function xes__Director GetTopScene ()
 
function xes__Director GetRunningScene ()
 
function xes__Director PushWorldController (wc)
 
function xes__Director PopWorldController ()
 
function xes__Director GetTopWorldController ()
 
function xes__Director GetRunningWorldController ()
 

变量

 PLATFORM_OS_NONE = 0
 
 PLATFORM_OS_IOS = 0
 
 PLATFORM_OS_ANDROID = 0
 
 xes__Director = {}
 
xe Director = xes__Director
 

函数说明

◆ ClearBackground()

function xes__Director ClearBackground ( )

清除背景

返回
void

◆ EnableClearColor()

function xes__Director EnableClearColor ( bClearColor  )

设置是否允许清除背景

参数
bClearColorboolean
返回
void

◆ GetAnimationManager()

function xes__Director GetAnimationManager ( )

获取动画管理器

返回
IXAnimationManager

◆ GetDressupManager()

function xes__Director GetDressupManager ( )

获取装扮管理器

返回
IXEDressupManager

◆ GetEngine()

function xes__Director GetEngine ( )

获取引擎实例

返回
XEEngineInstance

◆ GetEventDispatcher()

function xes__Director GetEventDispatcher ( )

获取事件派发器

返回
xes__EventDispatcher

◆ GetInstance()

function xes__Director GetInstance ( )

获取Director实例

返回
xes__Director

◆ getMagicCore()

function xes__Director getMagicCore ( )

获取MagicCore

返回
XEDecorationEnvBridgeBase

◆ GetPlatform()

function xes__Director GetPlatform ( )

获取当前平台

返回
number PLATFORM_OS_NONE | PLATFORM_OS_IOS | PLATFORM_OS_ANDROID

◆ GetRunningScene()

function xes__Director GetRunningScene ( )

◆ GetRunningWorldController()

function xes__Director GetRunningWorldController ( )

获取当前所有正在运行中的场景

返回
XEWorldController[]

◆ GetTopScene()

function xes__Director GetTopScene ( )

◆ GetTopWorldController()

function xes__Director GetTopWorldController ( )

获取栈顶场景

返回
XEWorldController

◆ GetVersion()

function xes__Director GetVersion ( )

获取引擎版本号

返回
string

◆ GetVersionNum()

function xes__Director GetVersionNum ( )

获取引擎版本号

返回
number

◆ GetViewport()

function xes__Director GetViewport ( )

获取当前视口

返回
XEViewport

◆ PopScene()

function xes__Director PopScene ( )
弃用:
返回
void

◆ PopWorldController()

function xes__Director PopWorldController ( )

移除场景

返回
void

◆ PrintEngineEnvironment()

function xes__Director PrintEngineEnvironment ( )

打印当前引擎环境

返回
void

◆ PushScene()

function xes__Director PushScene ( wc  )
弃用:
参数
wcXEWorldController
返回
void

◆ PushWorldController()

function xes__Director PushWorldController ( wc  )

场景压栈 栈顶场景为当前激活显示的场景

参数
wcXEWorldController
返回
void

◆ ResizeWindow()

function xes__Director ResizeWindow ( width  ,
height   
)

重设Window尺寸

参数
widthnumber 宽
heightnumber 高
返回
void

◆ SetEngineLogEnable()

function xes__Director SetEngineLogEnable ( logEnable  )

设置引擎日志开关

参数
logEnableboolean
返回
void

◆ SetLogEnable()

function xes__Director SetLogEnable ( logEnable  )

设置日志开关

参数
logEnableboolean
返回
void

◆ ShowDebugInfo()

function xes__Director ShowDebugInfo ( show  )

设置是否显示调试信息

参数
showboolean
返回
void

变量说明

◆ Director

xe Director = xes__Director

◆ PLATFORM_OS_ANDROID

PLATFORM_OS_ANDROID = 0

◆ PLATFORM_OS_IOS

PLATFORM_OS_IOS = 0

◆ PLATFORM_OS_NONE

PLATFORM_OS_NONE = 0

Generated by EmmyLua(https://github.com/EmmyLua) Created by HongjieFu. DateTime: 2019-08-29 18:27

◆ xes__Director