大约有 337 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0063 秒)
....hitArea值是HitArea对象,表示显式声明了此对象的鼠标事件响应区域,而忽略对象的宽高、mouseThrough属性。 影响对象鼠标事件响应区域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/heig...
来源: laya_api 发布时间: 20170929
...useHandler); rect.on(Event.MOUSE_WHEEL, this, mouseHandler); } /** * 鼠标响应事件处理 */ function mouseHandler(e) { switch (e.type) { case Event.MOUSE_DOWN: appendText("\n————————\n左键按下"); break; case Event.MOUSE_UP: appendText("\n左键抬起"); break; case Event.CLI...
来源: Laya_社区 发布时间: 20180205
....hitArea值是HitArea对象,表示显式声明了此对象的鼠标事件响应区域,而忽略对象的宽高、mouseThrough属性。 影响对象鼠标事件响应区域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/heig...
来源: Laya2.0_api 发布时间: 20190513
...可以通过查找资料自己解决下。 如果只是为了监听鼠标响应时间,你可以给stage添加一个click事件,记录当前坐标,通过计算得到当前点击的是第几个方格,进行相应的逻辑操作 15151214277 • 2016-07-26 19:17 @cuixueying:好的谢谢
来源: Laya_社区 发布时间: 20160726
....hitArea值是HitArea对象,表示显式声明了此对象的鼠标事件响应区域,而忽略对象的宽高、mouseThrough属性。 影响对象鼠标事件响应区域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/heig...
来源: Laya2.0_api 发布时间: 20190513
....hitArea值是HitArea对象,表示显式声明了此对象的鼠标事件响应区域,而忽略对象的宽高、mouseThrough属性。 影响对象鼠标事件响应区域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/heig...
来源: Laya2.0_api 发布时间: 20190513
....hitArea值是HitArea对象,表示显式声明了此对象的鼠标事件响应区域,而忽略对象的宽高、mouseThrough属性。 影响对象鼠标事件响应区域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/heig...
来源: laya_api 发布时间: 20170929
....hitArea值是HitArea对象,表示显式声明了此对象的鼠标事件响应区域,而忽略对象的宽高、mouseThrough属性。 影响对象鼠标事件响应区域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/heig...
来源: Laya2.0_api 发布时间: 20190513
...听 this.btn.on(Event.MOUSE_UP, this, this.onMouseUp); } /** * 鼠标事件响应函数 * @param evt */ onMouseUp(evt) { if (this.isDestroyed) { //通过设置 visible=true ,来触发渲染,然后引擎会自动恢复资源 this.spBg.visible = true; this.aniFly.visible = true; this.isDestroyed =...
来源: Laya2.0_示例 发布时间: 20240929
....hitArea值是HitArea对象,表示显式声明了此对象的鼠标事件响应区域,而忽略对象的宽高、mouseThrough属性。 影响对象鼠标事件响应区域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/heig...
来源: Laya2.0_api 发布时间: 20190513