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

Functions

function XUIEvent new (eType) end
 
function XUIEvent Release () end
 
function XUIEvent GetType () end
 
function XUIEvent StopPropagation () end
 
function XUIEvent IsStopped () end
 
function XUIEvent GetCurrentNode () end
 

Variables

 XUIEvent = {}
 
XUIEvent TOUCH = 0
 
XUIEvent KEYBOARD = 0
 
XUIEvent ACCELERATION = 0
 
XUIEvent MOUSE = 0
 
XUIEvent FOCUS = 0
 
XUIEvent GAME_CONTROLLER = 0
 
XUIEvent CUSTOM = 0
 

Function Documentation

◆ GetCurrentNode()

function XUIEvent GetCurrentNode ( )

获取当前节点指针

Returns
XUINode

◆ GetType()

function XUIEvent GetType ( )

获取事件类型并返回

Returns
number

◆ IsStopped()

function XUIEvent IsStopped ( )

判断是否停止传播当前事件

Returns
boolean

◆ new()

function XUIEvent new ( eType  )

XUIEvent_new00

Parameters
eTypenumber
Returns
XUIEvent

◆ Release()

function XUIEvent Release ( )

释放当前所占用资源等

Returns
void

◆ StopPropagation()

function XUIEvent StopPropagation ( )

停止传播当前事件

Returns
void

Variable Documentation

◆ ACCELERATION

XUIEvent ACCELERATION = 0

◆ CUSTOM

XUIEvent CUSTOM = 0

◆ FOCUS

XUIEvent FOCUS = 0

◆ GAME_CONTROLLER

XUIEvent GAME_CONTROLLER = 0

◆ KEYBOARD

XUIEvent KEYBOARD = 0

◆ MOUSE

XUIEvent MOUSE = 0

◆ TOUCH

XUIEvent TOUCH = 0

◆ XUIEvent

XUIEvent = {}