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

大约有 2,538 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0074 秒)

341. laya.ani.swf.MovieClip [ 84%]

...l Classes | Index | Frames No Frames MovieClipProperties | Methods | Events Packagelaya.ani.swfClasspublic class MovieClipInheritanceMovieClip Sprite Node EventDispatcher Object MovieClip 用于播放经过工具处理后的 swf 动画。 Public Properties Hide Inherited Public Properties Sho...

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

342. 摇杆的多点触摸问题 [ 84%]

...杆的多点触摸问题 Touch对象并没有Id属性。 这样的话,当Event.MOUSE_DOWN事件响应得到一个触摸点后 如何在Event.MOUSE_MOVE和Event.MOUSE_UP事件中区分是先前那个触摸点,这点如果不能区分的话,就分不清楚是摇杆的触摸点还是其他按钮...

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

343. 图片像素精准点击问题! [ 84%]

...过检测像素点颜色值来判断点击区域,这里不能用 on(Laya.Event.CLICK,只能通过 on(Laya.Event.MOUSE_DOWN 来检测。   下面是我的代码处理: class demo { private down:Laya.Image; constructor() { // 鼠标事件 Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.onMouseD...

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

344. layaair js 怎么监听手按住屏幕和松开屏幕事件 [ 84%]

...请: 与内容相关的链接 提交 1 个回复 非文 赞同来自: laya.events.Event.MOUSE_DOWN 和 laya.events.Event.MOUSE_UP 2016-11-10 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 jy02250344 相关问题 【屏幕适配】在Lay...

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

345. laya.d3.component.physics.Collider [ 84%]

...ll Classes | Index | Frames No Frames ColliderProperties | Methods | Events Packagelaya.d3.component.physicsClasspublic class ColliderInheritanceCollider Component3D EventDispatcher ObjectSubclasses BoxCollider, MeshCollider, SphereCollider Collider 类用于创建碰撞器的父类,抽象...

来源: laya_api 发布时间: 20170929

346. websocket无法连接 [ 84%]

...Url("ws://"+host+":"+port+"/hoopster"); //建立连接 this.socket.on(Laya.Event.OPEN, this, onOpen); this.socket.on(Laya.Event.MESSAGE, this, onReceive); this.socket.on(Laya.Event.CLOSE, this, this.closeHandler); this.socket.on(Laya.Event.ERROR, this, this.errorHandler);   以上代码,host传...

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

347. panel问题 [ 84%]

...,仔细研究了源码,发现问题出在事件派发上 截图来自EventDispatcher 如图所示,当派发mouseup事件时,当前的type为mouseup,由于scrollBar移除了mouseUp事件,所以此时的this._events[type]是undefined,而源码中又去取undefined的run属性,肯定会报...

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

348. laya.resource.VideoTexture_API3.0 [ 84%]

...tSource _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy event gpuCompressFormat hasListener isCreateFromURL off offAll offAllCaller on once videoPause videoPlay destroyUnusedResources Constructors constructor new VideoTexture(): VideoTexture Overrides BaseTexture.constructor Defin...

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

349. 照相机-正交相机 [ 84%]

...res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh")); layaMonkey.once(Laya.Event.HIERARCHY_LOADED, this, function () { layaMonkey.transform.localScale = new Laya.Vector3(3, 3, 3); //转换2D屏幕坐标系统到3D正交投影下的坐标系统 camera.convertScreenCoordToOrthographicCoord(pos, _trans...

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

350. 发布微信后无法触发mouse_up事件 [ 84%]

...** 初始化资源加载完成 */ private initF():void{ Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.mouseHandler); Laya.stage.on(Laya.Event.MOUSE_UP, this, this.mouseHandler); Laya.stage.on(Laya.Event.MOUSE_MOVE, this, this.mouseHandler); } private mouseHandler(e:laya.events.Event):void { var to...

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