大约有 2,657 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0055 秒)
Laya_社区(2027) Laya3.0_api(163) laya_api(112) Laya2.0_api(107) Laya2.0_文档(82) Laya_示例(68) Laya2.0_示例(51) Laya3.0_文档(47)
...ing progress : " + pro); }, null, false), Laya.Scene); Laya.loader.on(Event.ERROR, this, function (err) { if (debug) console.log("Loading error : " + err); }); } return LayaAir3D; } ()); LayaAir3D(); Monica • 2018-03-21 11:39 我这边写的例子正常 jinfawu • 2018-03-21 12:41 ...
来源: Laya_社区 发布时间: 20180321
...a设置Video的位置,对齐的位置和refence重合 Laya.stage.on(Laya.Event.RESIZE, this, fitDOM); let viewIns = this; function goGameWorld() { videoElmt.pause(); Laya.stage.removeChild(reference); Laya.Browser.removeElement(videoElmt); // Laya.Browser.document.body.removeChild(videoElmt); Laya...
来源: Laya_社区 发布时间: 20180802
...码,改写的,点击2次场景就会报错。: onStageClick(e: Laya.Event): void { //停止事件冒泡,提高性能,当然也可以不要 e.stopPropagation(); //舞台被点击后,使用对象池创建子弹 let flyer: Laya.Sprite = Laya.Pool.getItemByCreateFun("bullet", this....
来源: Laya_社区 发布时间: 20181128
...ackagelaya.d3.core.renderClasspublic class BaseRenderInheritanceBaseRender EventDispatcher ObjectImplements laya.resource.ISingletonElement, laya.d3.core.scene.IOctreeObjectSubclasses MeshRenderer, PixelLineRenderer, ShurikenParticleRenderer, TerrainRender, TrailRenderer Render 类用于渲染器的...
来源: Laya2.0_api 发布时间: 20190513
... false=不循环 clipPath=动画资源路径 this.iceMonsterAni.once(Laya.Event.COMPLETE, this, () => { this.iceMonsterAni.visible = false; }); } } 你看看。 LayaAir小牛 • 2025-12-22 15:41 @ZmySir:可以把项目打包发一个demo吗 ZmySir • 2025-12-22 16:18 demo怎么发给你? Laya...
来源: Laya_社区 发布时间: 20251211
...。 每当stage的大小进行变化时,会触发事件。 Laya.stage.on(Event.RESIZE, this, function():void { // To Do - UI.pos }); 2017-06-15 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 sfsmmc 相关问题 Layabox 2.0 bate5 运...
来源: Laya_社区 发布时间: 20170613
...ass ShurikenParticleRendererInheritanceShurikenParticleRenderer BaseRender EventDispatcher Object ShurikenParticleRender 类用于创建3D粒子渲染器。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By bounds : Bounds[override] [read-only...
来源: Laya2.0_api 发布时间: 20190513
...te(this, () => { this.btn = this.createBtn(this.skin); this.btn.on(Laya.Event.CLICK, this, this.onClick); })); } /** * 创建btn */ private createBtn(skin: string): Laya.Button { let button = new Laya.Button(skin, '上传文件'); button.labelSize = 12; button.labelColors = '#000000,#000000,#0000...
来源: Laya_社区 发布时间: 20170511
... SkinnedMeshRendererInheritanceSkinnedMeshRenderer MeshRenderer BaseRender EventDispatcher Object SkinMeshRenderer 类用于蒙皮渲染器。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By bones : Vector.<Sprite3D>[read-only] 用于...
来源: Laya2.0_api 发布时间: 20190513
...uck.lh"); //模型与材质加载完成监听与回调 this.role3D.on(Laya.Event.HIERARCHY_LOADED,this,this.onLoadComplete); this.scene.addChild(this.role3D); //模型与材质加载完成后回调 private onLoadComplete():void{ //获取车身模型(查看.lh文件,模型中两个对象,车头...
来源: Laya_社区 发布时间: 20171109