• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 8 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0032 秒)

1. laya.events.KeyLocation_API3.0 [ 100%]

...s/KeyLocation" KeyLocation Class KeyLocation KeyLocation 类包含表示在键盘或类似键盘的输入设备上按键位置的常量。 KeyLocation 常数用在键盘事件对象的 keyLocation 属性中。 Hierarchy KeyLocation Index Properties LEFT NUM_PAD RIGHT STANDARD Properties Static LEFT ...

来源: Laya3.0_api 发布时间: 20231115

2. laya.events.KeyBoardManager_API3.0 [ 92%]

.../KeyBoardManager" KeyBoardManager Class KeyBoardManager KeyBoardManager 是键盘事件管理类。该类从浏览器中接收键盘事件,并派发该事件。 派发事件时若 Stage.focus 为空则只从 Stage 上派发该事件,否则将从 Stage.focus 对象开始一直冒泡派发该事...

来源: Laya3.0_api 发布时间: 20231102

3. laya.events.Keyboard_API3.0 [ 91%]

...NUMPAD NUMPAD: number = 21 Defined in laya/events/Keyboard.ts:111 与数字键盘的伪键控代码 (21) 关联的常数。 Static NUMPAD_0 NUMPAD_0: number = 96 Defined in laya/events/Keyboard.ts:113 与数字键盘上的数字 0 的键控代码值 (96) 关联的常数。 Static NUMPAD_1 NUMPAD_1: ...

来源: Laya3.0_api 发布时间: 20231115

4. laya.events.Event_API3.0 [ 64%]

...68 包含按下或释放的键的字符代码值。字符代码值为英文键盘值。 Returns string ctrlKey get ctrlKey(): boolean Defined in laya/events/Event.ts:239 表示 Ctrl 键是处于活动状态 (true) 还是非活动状态 (false)。 Returns boolean key get key(): string Defined in laya...

来源: Laya3.0_api 发布时间: 20231115

5. laya.components.Script_API3.0 [ 61%]

...yDown onKeyDown(evt: Event): void Defined in laya/components/Script.ts:153 键盘按下时执行 Parameters evt: Event Returns void Optional onKeyPress onKeyPress(evt: Event): void Defined in laya/components/Script.ts:158 键盘产生一个字符时执行 Parameters evt: Event Returns void Optional ...

来源: Laya3.0_api 发布时间: 20231115

6. laya.events.InputManager_API3.0 [ 45%]

...bled: boolean = true Defined in laya/events/InputManager.ts:24 是否开启键盘事件,默认为true Static mouseEventsEnabled mouseEventsEnabled: boolean = true Defined in laya/events/InputManager.ts:22 是否开启鼠标/触摸事件,默认为true Static mouseX mouseX: number = 0 Defined in l...

来源: Laya3.0_api 发布时间: 20231115

7. laya.display.Stage_API3.0 [ 8%]

... in laya/display/Stage.ts:114 当前焦点对象,此对象会影响当前键盘事件的派发主体。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先检测自身,还是优先检测其子对象...

来源: Laya3.0_api 发布时间: 20231115

8. laya.display.Input_API3.0 [ 8%]

...: string): void Defined in laya/display/Input.ts:429 小游戏专用(解决键盘输入框内容和游戏输入框内容不同步的bug) Parameters value: string Returns void off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]):...

来源: Laya3.0_api 发布时间: 20231115