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

#include <XPlatformWindow.h>

类 IXPlatformWindow 继承关系图:
Inheritance graph

函数

function IXPlatformWindow GetWinHandle () end
 
function IXPlatformWindow GetWidth () end
 
function IXPlatformWindow GetHeight () end
 
function IXPlatformWindow GetWindowScale () end
 
function IXPlatformWindow IsFullScreen () end
 
function IXPlatformWindow GetMouseX () end
 
function IXPlatformWindow GetMouseY () end
 
function IXPlatformWindow SetWidthHeight (width, height) end
 

变量

 IXPlatformWindow = {}
 

函数说明

◆ GetHeight()

function IXPlatformWindow GetHeight ( )

获取窗口高度

返回
number 窗口高度

◆ GetMouseX()

function IXPlatformWindow GetMouseX ( )

获取鼠标坐标X分量

返回
number 鼠标坐标X分量

◆ GetMouseY()

function IXPlatformWindow GetMouseY ( )

获取鼠标坐标Y分量

返回
number 鼠标坐标Y分量

◆ GetWidth()

function IXPlatformWindow GetWidth ( )

获取窗口宽度

返回
number 窗口宽度

◆ GetWindowScale()

function IXPlatformWindow GetWindowScale ( )

IXPlatformWindow_GetWindowScale00

返回
number

◆ GetWinHandle()

function IXPlatformWindow GetWinHandle ( )

获取窗口句柄

返回
userdata 窗口句柄

◆ IsFullScreen()

function IXPlatformWindow IsFullScreen ( )

判断窗口是否全屏

返回
boolean 窗口是否全屏

◆ SetWidthHeight()

function IXPlatformWindow SetWidthHeight ( width  ,
height   
)

设置窗口宽高

参数
widthnumber 窗口的宽
heightnumber 窗口的高
返回
void

变量说明

◆ IXPlatformWindow