Phaser. PointerMode

new PointerMode()

Enumeration categorizing operational modes of pointers.

PointerType values represent valid bitmasks. For example, a value representing both Mouse and Touch devices can be expressed as PointerMode.CURSOR | PointerMode.CONTACT.

Values may be added for future mode categorizations.

Source - input/Pointer.js, line 1218

Members

<static, constant> CONTACT

A 'CONTACT' pointer has an active cursor that only tracks movement when actived; notably this is a touch-style input.

Source - input/Pointer.js, line 1233

<static, constant> CURSOR

A 'CURSOR' is a pointer with a passive cursor such as a mouse, touchpad, watcom stylus, or even TV-control arrow-pad.

It has the property that a cursor is passively moved without activating the input. This currently corresponds with Phaser.Pointer#isMouse property.

Source - input/Pointer.js, line 1227
Phaser Copyright © 2012-2015 Photon Storm Ltd.
Documentation generated by JSDoc 3.3.2 on Thu Feb 18 2016 14:41:06 GMT+0000 (GMT Standard Time) using the DocStrap template.

快捷菜单

注意:只有登录才能全文翻译,每个新用户赠送300会员币。
赚取方法:文章评论+1000,分享网站截图给站长+3000,另充10元+100万会员币
支持一下记得截图给站长!

VIP限时免费阅读!登录可得1万币尽情中文阅读!


记得CTRL+D收藏!
站长微信:
支持自学php网
如有问题,记得强刷一下.

  • CONTACT - 方法
  • CURSOR - 方法