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

大约有 3,603 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0081 秒)

961. tiledMap类createMap()创建地图 如何理解这个viewRect视口区 [ 69%]

...yabox.com/api/laya/map/TiledMap.html     看api把limitrange:boolean 填true 有变化没有。 2018-06-12 0 4 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 谢 相关问题 请问laya有没有地图编辑器工具? 求助关于TiledMa...

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

962. 如何更新appcache的资源 [ 69%]

...@param extversion 是否使用外部版本号* @return boolean 如果返回true则表示更新成功,否则的话,表示校验码不一致,即* 先要更新dcc才能工作。*/updateFile(nameid:number,chksum:number,buf:ArrayBuffer,extversion:boolean):boolean;   官网描述 路径规则:/...

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

963. laya.resource.BaseTexture_API3.0 [ 69%]

...esource.lock Defined in laya/resource/Resource.ts:103 是否加锁,如果true为不能使用自动释放机制。 Optional name name: string Inherited from Resource.name Defined in laya/resource/Resource.ts:105 名称。 url url: string Inherited from Resource.url Defined in laya/resource/Resource...

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

964. dialog的popup方法不会关闭其他弹窗 [ 69%]

.../ } this.normalDialog = new NormalDialog(context); this.normalDialog.popup(true, true); Laya.stage.addChild(this.normalDialog);  }  }     // 弹窗代码   class NormalDialog extends ui.normalDialogUI { constructor( text: string ) { super(); // 设置label文字 this.context.text = text; this.b...

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

965. 如何实现panel的滚动条拖动屏幕时显示,不拖动则隐藏的功能 [ 69%]

...加触碰时间,mousedown的时候设置panel的_vScrollBar的visible为true。但是跟踪到定义里面发现注释为私有的,想知道是否有另外公开的方法来实现这个功能。另外EVENT里面有个DRAG_START的事件不知道如何才触发? 2018-08-28 添加评论 免费...

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

966. 自定义shader-边缘光照shader [ 69%]

...种开发语言、LayaAirIDE让项目开发更高效。Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; initShader(); var scene = Laya.stage.addChild(new Laya.Scene()); var camera = scene.addChild(new Laya.Camera(0, 0.1, 1000)); c...

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

967. 3D场景销毁后,仍有引用存在,内存中场景及引用其的对象无法销毁 [ 69%]

...      this.camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false);          this.scene.addChild(this.camera);         Laya.loader.create("res/scene_Effect/Conventional/Effect_zhujue_attack.lh", Laya.Handler.create(this, () => {              ...

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

968. Laya.MovieClip() new的时候崩溃了,在线等,很急!!!! [ 69%]

...mg,state):any{ this.swfAni = new Laya.MovieClip(); this.swfAni.load(strSWF,true,strImg); this.swfAni.x = (Laya.stage.width -1900) / 2; this.swfAni.y = (Laya.stage.height - 1200) / 2; this.swfAni.zOrder = 3; this.swfAni.loop = false; this.swfAni.play(0,false); this.swfAni.visible = true; this.swfAni....

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

969. laya.display.EffectAnimation_API3.0 [ 69%]

...变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测...

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

970. 鼠标 MOUSE_DOWN Event 回来的信息不符合 [ 69%]

...e.y = Laya.stage.height / 2; picture.scale(cardScaleValue, cardScaleValue, true); picture.on(Event.MOUSE_DOWN, this, onStartPicture(Picture); } function onStartDragPicture(e) { console.log('onStartDragPicture e', e); } 返回的信息: Event _stoped: false currentTarget: Stage {focus: null, design...

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