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

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

81. laya.ui.Box [ 66%]

....hitArea值是HitArea对象,表示显式声明了此对象的鼠标事件响应区域,而忽略对象的宽高、mouseThrough属性。 影响对象鼠标事件响应区域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/heig...

来源: laya_api 发布时间: 20170929

82. sprite点击事件 位置便宜 [ 66%]

...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

83. laya.particle.Particle2D [ 66%]

....hitArea值是HitArea对象,表示显式声明了此对象的鼠标事件响应区域,而忽略对象的宽高、mouseThrough属性。 影响对象鼠标事件响应区域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/heig...

来源: Laya2.0_api 发布时间: 20190513

84. 关于地图移动问题 [ 65%]

...可以通过查找资料自己解决下。 如果只是为了监听鼠标响应时间,你可以给stage添加一个click事件,记录当前坐标,通过计算得到当前点击的是第几个方格,进行相应的逻辑操作 15151214277 • 2016-07-26 19:17 @cuixueying:好的谢谢

来源: Laya_社区 发布时间: 20160726

85. laya.utils.PerfHUD [ 65%]

....hitArea值是HitArea对象,表示显式声明了此对象的鼠标事件响应区域,而忽略对象的宽高、mouseThrough属性。 影响对象鼠标事件响应区域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/heig...

来源: Laya2.0_api 发布时间: 20190513

86. laya.html.dom.HTMLDivElement [ 65%]

....hitArea值是HitArea对象,表示显式声明了此对象的鼠标事件响应区域,而忽略对象的宽高、mouseThrough属性。 影响对象鼠标事件响应区域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/heig...

来源: Laya2.0_api 发布时间: 20190513

87. laya.ui.TipManager [ 65%]

....hitArea值是HitArea对象,表示显式声明了此对象的鼠标事件响应区域,而忽略对象的宽高、mouseThrough属性。 影响对象鼠标事件响应区域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/heig...

来源: laya_api 发布时间: 20170929

88. laya.ui.ScaleBox [ 65%]

....hitArea值是HitArea对象,表示显式声明了此对象的鼠标事件响应区域,而忽略对象的宽高、mouseThrough属性。 影响对象鼠标事件响应区域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/heig...

来源: Laya2.0_api 发布时间: 20190513

89. 加载-销毁Texture使用的图片资源 [ 65%]

...听 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

90. laya.map.GridSprite [ 65%]

....hitArea值是HitArea对象,表示显式声明了此对象的鼠标事件响应区域,而忽略对象的宽高、mouseThrough属性。 影响对象鼠标事件响应区域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/heig...

来源: Laya2.0_api 发布时间: 20190513