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

Functions

function XEngineInitParameter new () end
 
function XEngineInstance FrameRender (pViewport) end
 
function XEngineInstance ShowPerfInfos (bShow, pszGroupNames) end
 
function XEngineInstance StatsFrame (nStartXPos, nStartYPos) end
 
function XEngineInstance StatsFrame (nStartXPos, nStartYPos, groupColor) end
 
function XEngineInstance StatsFrame (nStartXPos, nStartYPos, groupColor, statColor) end
 
function XEngineInstance GetRTTID () end
 
function XEngineInstance ResizeRenderWindow (pWin) end
 
function XEngineInstance ReloadResource (strFilePath) end
 
function XEngineInstance IsResourceLoaded (strFilePath) end
 
function XEngineInstance GetBaseDir () end
 
function XEngineInstance GetLibraryDir () end
 
function XEngineInstance GetDocumentDir () end
 
function XEngineInstance GetPlatformWindow () end
 
function XEngineInstance SetPlatformWindow (pWindow) end
 
function XEngineInstance GetMaterialManager () end
 
function XEngineInstance GetUserMaterialManager () end
 
function XEngineInstance GetLightManager () end
 
function XEngineInstance GetResourceManager () end
 
function XEngineInstance GetTextureManager () end
 
function XEngineInstance GetBlendShapeManager () end
 
function XEngineInstance GetBrushManager () end
 
function XEngineInstance GetRenderer () end
 
function XEngineInstance GetModelManager () end
 
function XEngineInstance GetEditorModelManager () end
 
function XEngineInstance GetCanvasBase () end
 
function XEngineInstance GetRenderSet () end
 
function XEngineInstance GetConVarSys () end
 
function XEngineInstance GetStatGroupSys () end
 
function XEngineInstance GetPhysicalManagerBase () end
 
function XEngineInstance SetPhysicalManagerBase (pPhysicalManagerBase) end
 
function XEngineInstance GetAnimationManager () end
 
function XEngineInstance GetFxManager () end
 
function XEngineInstance Get2DPhysicalManager () end
 
function XEngineInstance GetPhysicalManager () end
 
function XEngineInstance GetUIManager () end
 
function XEngineInstance GetGestureManager () end
 
function XEngineInstance GetAudioManager () end
 
function XEngineInstance GetDressupManager () end
 
function XEngineInstance GetEngineInstanceID () end
 

Variables

 XEngineInitParameter = {}
 

Function Documentation

◆ FrameRender()

function XEngineInstance FrameRender ( pViewport  )

XEngineInstance_FrameRender00

Parameters
pViewportXViewport
Returns
void

◆ Get2DPhysicalManager()

function XEngineInstance Get2DPhysicalManager ( )

XEngineInstance_Get2DPhysicalManager00

Returns
IX2DPhysicalManager

◆ GetAnimationManager()

function XEngineInstance GetAnimationManager ( )

XEngineInstance_GetAnimationManager00

Returns
IXAnimationManager

◆ GetAudioManager()

function XEngineInstance GetAudioManager ( )

XEngineInstance_GetAudioManager00

Returns
IXAudioEngine

◆ GetBaseDir()

function XEngineInstance GetBaseDir ( )

XEngineInstance_GetBaseDir00

Returns
string

◆ GetBlendShapeManager()

function XEngineInstance GetBlendShapeManager ( )

XEngineInstance_GetBlendShapeManager00

Returns
XBlendShapeManager

◆ GetBrushManager()

function XEngineInstance GetBrushManager ( )

XEngineInstance_GetBrushManager00

Returns
IXBrushManager

◆ GetCanvasBase()

function XEngineInstance GetCanvasBase ( )

XEngineInstance_GetCanvasBase00

Returns
IXCanvasBase

◆ GetConVarSys()

function XEngineInstance GetConVarSys ( )

XEngineInstance_GetConVarSys00

Returns
IXConVarSys

◆ GetDocumentDir()

function XEngineInstance GetDocumentDir ( )

XEngineInstance_GetDocumentDir00

Returns
string

◆ GetDressupManager()

function XEngineInstance GetDressupManager ( )

XEngineInstance_GetDressupManager00

Returns
IXEDressupManager

◆ GetEditorModelManager()

function XEngineInstance GetEditorModelManager ( )

XEngineInstance_GetEditorModelManager00

Returns
IXEditorModelManager

◆ GetEngineInstanceID()

function XEngineInstance GetEngineInstanceID ( )

XEngineInstance_GetEngineInstanceID00

Returns
number

◆ GetFxManager()

function XEngineInstance GetFxManager ( )

XEngineInstance_GetFxManager00

Returns
IFxManager

◆ GetGestureManager()

function XEngineInstance GetGestureManager ( )

XEngineInstance_GetGestureManager00

Returns
XGestureManager

◆ GetLibraryDir()

function XEngineInstance GetLibraryDir ( )

XEngineInstance_GetLibraryDir00

Returns
string

◆ GetLightManager()

function XEngineInstance GetLightManager ( )

XEngineInstance_GetLightManager00

Returns
IXLightManager

◆ GetMaterialManager()

function XEngineInstance GetMaterialManager ( )

XEngineInstance_GetMaterialManager00

Returns
IXMaterialManager

◆ GetModelManager()

function XEngineInstance GetModelManager ( )

XEngineInstance_GetModelManager00

Returns
IXModelManager

◆ GetPhysicalManager()

function XEngineInstance GetPhysicalManager ( )

XEngineInstance_GetPhysicalManager00

Returns
IXPhysicalManager

◆ GetPhysicalManagerBase()

function XEngineInstance GetPhysicalManagerBase ( )

XEngineInstance_GetPhysicalManagerBase00

Returns
IXPhysicalManagerBase

◆ GetPlatformWindow()

function XEngineInstance GetPlatformWindow ( )

XEngineInstance_GetPlatformWindow00

Returns
IXPlatformWindow

◆ GetRenderer()

function XEngineInstance GetRenderer ( )

XEngineInstance_GetRenderer00

Returns
IXRenderSystemBase

◆ GetRenderSet()

function XEngineInstance GetRenderSet ( )

XEngineInstance_GetRenderSet00

Returns
IXRenderSet

◆ GetResourceManager()

function XEngineInstance GetResourceManager ( )

XEngineInstance_GetResourceManager00

Returns
IXResourceManager

◆ GetRTTID()

function XEngineInstance GetRTTID ( )

获取引擎渲染到纹理时,纹理对应的索引,opengl环境下是纹理的opengl索引值

Returns
number 渲染到纹理时,纹理对应索引

◆ GetStatGroupSys()

function XEngineInstance GetStatGroupSys ( )

XEngineInstance_GetStatGroupSys00

Returns
IXStatGroupSys

◆ GetTextureManager()

function XEngineInstance GetTextureManager ( )

XEngineInstance_GetTextureManager00

Returns
IXTextureManager

◆ GetUIManager()

function XEngineInstance GetUIManager ( )

XEngineInstance_GetUIManager00

Returns
IXUIManager

◆ GetUserMaterialManager()

function XEngineInstance GetUserMaterialManager ( )

XEngineInstance_GetUserMaterialManager00

Returns
IXMaterialManager

◆ IsResourceLoaded()

function XEngineInstance IsResourceLoaded ( strFilePath  )

资源是否已被加载 param strFilePath 资源路径

Parameters
strFilePathstring
Returns
boolean

◆ new()

function XEngineInitParameter new ( )

XEngineInitParameter_new00

Returns
XEngineInitParameter

◆ ReloadResource()

function XEngineInstance ReloadResource ( strFilePath  )

重新加载资源 param strFilePath 加载的资源路径

Parameters
strFilePathstring
Returns
void

◆ ResizeRenderWindow()

function XEngineInstance ResizeRenderWindow ( pWin  )

调整渲染窗口大小

Parameters
pWinIXPlatformWindow 要调整的渲染窗口指针
Returns
void

◆ SetPhysicalManagerBase()

function XEngineInstance SetPhysicalManagerBase ( pPhysicalManagerBase  )

XEngineInstance_SetPhysicalManagerBase00

Parameters
pPhysicalManagerBaseIXPhysicalManagerBase
Returns
void

◆ SetPlatformWindow()

function XEngineInstance SetPlatformWindow ( pWindow  )

XEngineInstance_SetPlatformWindow00

Parameters
pWindowIXPlatformWindow
Returns
void

◆ ShowPerfInfos()

function XEngineInstance ShowPerfInfos ( bShow  ,
pszGroupNames   
)

设置是否渲染引擎调试信息

Parameters
bShowboolean 是否显示调试信息
pszGroupNamesstring 调试信息的组名,为NULL时,显示所有调试信息
Returns
void

◆ StatsFrame() [1/3]

function XEngineInstance StatsFrame ( nStartXPos  ,
nStartYPos   
)

XEngineInstance_StatsFrame00

Parameters
nStartXPosnumber
nStartYPosnumber
Returns
void

◆ StatsFrame() [2/3]

function XEngineInstance StatsFrame ( nStartXPos  ,
nStartYPos  ,
groupColor   
)

XEngineInstance_StatsFrame01

Parameters
nStartXPosnumber
nStartYPosnumber
groupColorXCOLORBASE
Returns
void

◆ StatsFrame() [3/3]

function XEngineInstance StatsFrame ( nStartXPos  ,
nStartYPos  ,
groupColor  ,
statColor   
)

XEngineInstance_StatsFrame02

Parameters
nStartXPosnumber
nStartYPosnumber
groupColorXCOLORBASE
statColorXCOLORBASE
Returns
void

Variable Documentation

◆ XEngineInitParameter