AR_Engine_SDK
|
Variables | |
IXUIManager = {} | |
function IXUIManager AdoptScene | ( | pScene | ) |
function IXUIManager CreateUIScene | ( | ) |
创建UIScene
function IXUIManager GetActionManager | ( | ) |
动画系统
function IXUIManager GetCurrentPath | ( | ) |
IXUIManager_GetCurrentPath00
function IXUIManager GetDefaultTTFPath | ( | ) |
获取本实例中TTF的默认路径
function IXUIManager GetRect | ( | ) |
获取屏幕区域,并返回
function IXUIManager GetScaleFactor | ( | ) |
获取屏幕比例,并返回
function IXUIManager GetScreenResolution | ( | ) |
获取分辨率
function IXUIManager GetStrID | ( | name | ) |
获取字符串hashid
name | string |
function IXUIManager GetTouchMaxNum | ( | ) |
IXUIManager_GetTouchMaxNum00
function IXUIManager GetVersion | ( | ) |
获取当前UI库的版本号
function IXUIManager Init | ( | ) |
初始化
function IXUIManager IsBatchEnabled | ( | ) |
获取是否合批渲染
function IXUIManager LoadUIScene | ( | szFile | ) |
function IXUIManager Release | ( | ) |
释放
function IXUIManager RemoveUIScene | ( | pScene | ) |
function IXUIManager Render | ( | pWrold | ) |
渲染
pWrold | IXRenderSet 指定渲染世界 |
function IXUIManager SaveUIScene | ( | szFile | , |
pScene | , | ||
bBinary | |||
) |
保存UIScene
szFile | string UIScene路径 |
pScene | XUIScene UIScene指针 |
bBinary | boolean 是否以2进制保存 |
function IXUIManager SetBatchEnabled | ( | bEnable | ) |
设置是否合批渲染
bEnable | boolean 是否合批渲染 |
function IXUIManager SetCurrentPath | ( | strPath | ) |
IXUIManager_SetCurrentPath00
strPath | string |
function IXUIManager SetDefaultTTFPath | ( | strTemp | ) |
设置本实例中TTF的默认路径
strTemp | string |
function IXUIManager SetRect | ( | rect | ) |
function IXUIManager SetScaleFactor | ( | fScale | ) |
设置屏幕比例,在ios上使用[[UIScreen mainScreen]
fScale | number |
function IXUIManager SetScreenResolution | ( | vResolution | ) |
设置分辨率
vResolution | XVECTOR2 要设置的分辨率 |
function IXUIManager SetTouchMaxNum | ( | nMaxNum | ) |
IXUIManager_SetTouchMaxNum00
nMaxNum | number |
function IXUIManager Tick | ( | fDelta | ) |
计算更新
fDelta | number 更新间隔 |
IXUIManager = {} |