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

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

41. laya.gltf.glTFResource_API3.0 [ 81%]

...tGPUMemory addDep addDeps create destroy event hasListener isCreateFromURL off offAll offAllCaller on once registerExtra unregisterExtra destroyUnusedResources Constructors constructor new glTFResource(): glTFResource Overrides Prefab.constructor Defined in laya/gltf/glTFResource.ts:63 Returns glTFR...

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

42. laya.device.media.HtmlVideo_API3.0 [ 81%]

...CreateURL _setGPUMemory destroy event getVideo hasListener isCreateFromURL off offAll offAllCaller on once setSource create destroyUnusedResources Constructors constructor new HtmlVideo(): HtmlVideo Overrides Bitmap.__constructor Defined in laya/device/media/HtmlVideo.ts:13 Returns HtmlVideo Propert...

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

43. laya.spine.SpineTemplet_API3.0 [ 81%]

...etAniNameByIndex getSkinIndexByName getTexture hasListener isCreateFromURL off offAll offAllCaller on once destroyUnusedResources Constructors constructor new SpineTemplet(): SpineTemplet Overrides Resource.__constructor Defined in laya/spine/SpineTemplet.ts:19 Returns SpineTemplet Properties _id _i...

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

44. 自动旋转后残影 [ 81%]

... ShuPing(); if(_tip){ _tip.graphics.clear(); _downFlag = false; Laya.stage.off(Event.MOUSE_MOVE,this,_moveHandler); _tip.off(Event.MOUSE_DOWN,this,_downHandler); _tip.off(Event.MOUSE_UP,this,_upHandler); _tip.destroy(); } _tip = new Sprite(); _tip.graphics.drawRect(0,0,100,100,"#FFFFFF"); ...

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

45. 区块地图-滚动地图 [ 80%]

...eX - mLastMouseX); mY = mY - (Laya.stage.mouseY - mLastMouseY); Laya.stage.off(Event.MOUSE_MOVE, this, mouseMove); } // 窗口大小改变,把地图的视口区域重设下 function resize() { //改变地图视口大小 tiledMap.changeViewPort(mX, mY, Browser.width, Browser.height); } })();module ...

来源: Laya_示例 发布时间: 20241002

46. 鼠标交互-双指旋转(多点触控) [ 80%]

... preRadian); preRadian = nowRadian; } } function onMouseUp(e) { Laya.stage.off(Event.MOUSE_MOVE, this, onMouseMove); } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Interact...

来源: Laya_示例 发布时间: 20241002

47. 移除鼠标事件 [ 79%]

...链接 提交 1 个回复 cuixueying 赞同来自: on用来侦听事件,off用来移除事件,btn.off(Event.MOUSE_MOVE, this, onMouseMove);  2017-06-23 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 Agnes 相关问题 请问有没...

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

48. laya.display.BitmapFont_API3.0 [ 79%]

...oy event getMaxHeight getMaxWidth getTextWidth hasListener isCreateFromURL off offAll offAllCaller on once parseFont destroyUnusedResources loadFont Constructors constructor new BitmapFont(): BitmapFont Overrides Resource.__constructor Defined in laya/display/BitmapFont.ts:37 Returns BitmapFont Prop...

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

49. 区块地图-滚动地图 [ 79%]

...ge.mouseX - mLastMouseX; mY -= Laya.stage.mouseY - mLastMouseY; Laya.stage.off(Laya.Event.MOUSE_MOVE, this, this.mouseMove); } // 窗口大小改变,把地图的视口区域重设下 resize() { // 改变地图视口大小 this.tiledMap.changeViewPort(mX, mY, Laya.Browser.width, Laya.Browser.height...

来源: Laya2.0_示例 发布时间: 20241002

50. 鼠标交互-双指旋转(多点触控) [ 79%]

...adian = nowRadian; } } onMouseUp(e) { const Event = Laya.Event; Laya.stage.off(Event.MOUSE_MOVE, this, this.onMouseMove); } } new Interaction_Rotate();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.W...

来源: Laya2.0_示例 发布时间: 20241002