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

Functions

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
 

Variables

 IXPlatformWindow = {}
 

Function Documentation

◆ GetHeight()

function IXPlatformWindow GetHeight ( )

获取窗口高度

Returns
number 窗口高度

◆ GetMouseX()

function IXPlatformWindow GetMouseX ( )

获取鼠标坐标X分量

Returns
number 鼠标坐标X分量

◆ GetMouseY()

function IXPlatformWindow GetMouseY ( )

获取鼠标坐标Y分量

Returns
number 鼠标坐标Y分量

◆ GetWidth()

function IXPlatformWindow GetWidth ( )

获取窗口宽度

Returns
number 窗口宽度

◆ GetWindowScale()

function IXPlatformWindow GetWindowScale ( )

IXPlatformWindow_GetWindowScale00

Returns
number

◆ GetWinHandle()

function IXPlatformWindow GetWinHandle ( )

获取窗口句柄

Returns
userdata 窗口句柄

◆ IsFullScreen()

function IXPlatformWindow IsFullScreen ( )

判断窗口是否全屏

Returns
boolean 窗口是否全屏

◆ SetWidthHeight()

function IXPlatformWindow SetWidthHeight ( width  ,
height   
)

设置窗口宽高

Parameters
widthnumber 窗口的宽
heightnumber 窗口的高
Returns
void

Variable Documentation

◆ IXPlatformWindow