大约有 2,994 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0077 秒)
Laya_社区(2435) Laya2.0_文档(172) Laya3.0_api(101) Laya_示例(79) Laya3.0_文档(70) Laya2.0_api(55) laya_api(42) Laya2.0_示例(40)
...al = new Laya.StandardMaterial(); material.diffuseTexture = Laya.Texture2D.load("res/layabox.png"); material.albedo = new Laya.Vector4(1,0,1,1); box.meshRender.material = material; box.meshRender.receiveShadow = true; box.meshRender.castShadow = true; poolBox.push(box); } } }, creatPerson:function(p...
来源: Laya_社区 发布时间: 20180117
...tage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Laya.loader.load(["res/ui/progressBar.png", "res/ui/progressBar$bar.png"], Handler.create(this, this.onLoadComplete)); } private onLoadComplete(): void { this.progressBar = new ProgressBar("res/ui/progressBar.png"); this.progressB...
来源: Laya2.0_文档 发布时间: 20210715
...回复问题请先登录 发起人 mulezki 相关问题 分享:LayaAir下Loading进度条的制作(ActionScript 3.0) 2.0一不小心删了bin目录下的某个场景json文件。。竟然无法自动生成了? 【屏幕适配】在LayaAir上面是竖屏,为什么到微信开发工具中就...
来源: Laya_社区 发布时间: 20160503
...问题请先登录 发起人 135*****336 相关问题 分享:LayaAir下Loading进度条的制作(ActionScript 3.0) 2.0一不小心删了bin目录下的某个场景json文件。。竟然无法自动生成了? 编译调试启动chrome出现错误: Error processing launch: Error Could not attac...
来源: Laya_社区 发布时间: 20231103
...lf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new MeshSprite3D(mesh?: Mesh, name?: string): MeshSprite3D Overrides RenderableSprite3D.constructor Defined in laya/d3/core/MeshSprite3D.ts:29 创建一个 MeshSprite3D 实例。 Parameters Defau...
来源: Laya3.0_api 发布时间: 20231115
...lf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new ShuriKenParticle3D(): ShuriKenParticle3D Overrides RenderableSprite3D.constructor Defined in laya/d3/core/particleShuriKen/ShuriKenParticle3D.ts:56 创建一个 Particle3D 实例。 Returns S...
来源: Laya3.0_api 发布时间: 20231115
...el骨骼动画播放失败,编辑器预览没问题 复现代码: Laya.loader.load("https://hlsgs.sanguosha.com/re ... ot%3B, Laya.Loader.SPINE).then((templet: Laya.SpineTemplet) => { this.skeleton = new Laya.SpineSkeleton(); this.skeleton.templet = templet; console.log("动画数...
来源: Laya_社区 发布时间: 20250928
...lume = 1; this._sound.offPlay(); } 2 在MiniSound类的onDownLoadCallBack函数中,this._sound.onError(MiniSound.bindToThis(this.onError,this)); 这一句的后面,增加如下语句:this._sound.volume = 0; this._sound.onPlay(MiniSound.bindToThis(this.resetPlay,this...
来源: Laya_社区 发布时间: 20181026
..../res/ui/input (3).png", "../../res/ui/input (4).png"]; Laya.loader.load(skins, Handler.create(this, onLoadComplete)); //加载资源。 })(); function onLoadComplete() { for (var i = 0; i < skins.length; ++i) { v...
来源: Laya_社区 发布时间: 20190814
...候,会出现stage的宽高变化了: printScreenInfo("aaa"); Laya.loader.load(resArr, Handler.create(this, this.onResLoaded, [this.mainuiView, winName, zOrder])); printScreenInfo("bbb"); private onResLoaded(parent:Laya.Node, winName:string, zOrder:number):void { printScreenInfo("ccc");...
来源: Laya_社区 发布时间: 20180316