AR_Engine_SDK
|
Functions | |
function XGestureManager | SetMoveJudgement_v1 (nMoveJudgement) end |
function XGestureManager | GetMoveJudgement_v1 () end |
function XGestureManager | SetMultiClickInterpTime (fTime) end |
function XGestureManager | GetMultiClickInterpTime () end |
function XGestureManager | SetLongPressTime (fTime) end |
function XGestureManager | GetLongPressTime () end |
function XGestureManager GetLongPressTime | ( | ) |
获取长按的判定时间,默认0.2s
function XGestureManager GetMoveJudgement_v1 | ( | ) |
设置移动的距离判定,默认20
function XGestureManager GetMultiClickInterpTime | ( | ) |
获取连续点击的间隔时间,点击间隔在该时间内视为连续点击,否则为普通单击,默认0.2s
function XGestureManager SetLongPressTime | ( | fTime | ) |
设置长按的判定时间,默认0.2s
fTime | number 长按的判定时间 |
function XGestureManager SetMoveJudgement_v1 | ( | nMoveJudgement | ) |
设置移动的距离判定,默认20
nMoveJudgement | number 移动的距离判定值 |
function XGestureManager SetMultiClickInterpTime | ( | fTime | ) |
设置连续点击的间隔时间,点击间隔在该时间内视为连续点击,否则为普通单击,默认0.2s
fTime | number 连续点击的间隔时间 |
GesturePinchParam aLastPositions = {} |
@type XVECTOR2[] 上一时刻位置
GesturePinchParam aPositions = {} |
@type XVECTOR2[] 此刻位置
GesturePinchParam Changed = 0 |
GestureRotate2Param Clockwise = 0 |
GestureRotate2Param CounterClockwise = 0 |
GestureRotate2Param eOrder = 0 |
@type number 手指绕序
GestureRotate2Param eState = 0 |
@type number 事件状态
GestureClickParam eType = 0 |
@type number 事件类型
GesturePinchParam fLastScale = 0 |
@type number
GesturePinchParam fNewScale = 0 |
@type number
GestureClickParam fParam = 0 |
@type number
GestureClickParam = {} |
GestureMove2Param = {} |
GestureMoveParam = {} |
GesturePinchParam = {} |
GestureRotate2Param = {} |
GestureClickParam LongClick = 0 |
GestureRotate2Param Moved = 0 |
GestureClickParam MultiClick = 0 |
GestureClickParam NormalClick = 0 |
GestureRotate2Param NotCircle = 0 |
GestureMoveParam nTag = 0 |
@type number 事件标记
GestureClickParam Pressed = 0 |
GestureClickParam Raised = 0 |
GestureRotate2Param Stopped = 0 |
GestureMove2Param vDir = {} |
@type XVECTOR2 移动方向
GestureMoveParam vLastPosition = {} |
@type XVECTOR2 上一时刻位置
GestureMoveParam vPosition = {} |
@type XVECTOR2 点击位置
XGestureManager = {} |