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

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

2521. 3d下阴影渲染问题求解 [ 48%]

...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

2522. ProgressBar属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 48%]

...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

2523. 分享:自动编译&刷新工具(新增了项目模板创建,调试,发布一条龙) [ 48%]

...回复问题请先登录 发起人 mulezki 相关问题 分享:LayaAir下Loading进度条的制作(ActionScript 3.0) 2.0一不小心删了bin目录下的某个场景json文件。。竟然无法自动生成了? 【屏幕适配】在LayaAir上面是竖屏,为什么到微信开发工具中就...

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

2524. laya3.0 [场景启动前闪屏] 我想在闪屏界面加个进度但是onProgress接口有问题 [ 48%]

...问题请先登录 发起人 135*****336 相关问题 分享:LayaAir下Loading进度条的制作(ActionScript 3.0) 2.0一不小心删了bin目录下的某个场景json文件。。竟然无法自动生成了? 编译调试启动chrome出现错误: Error processing launch: Error Could not attac...

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

2525. laya.d3.core.MeshSprite3D_API3.0 [ 48%]

...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

2526. laya.d3.core.particleshuriken.ShuriKenParticle3D_API3.0 [ 48%]

...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

2527. [LayaAirIDE3]skel骨骼动画播放失败,编辑器预览没问题 [ 48%]

...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

2528. [分享]微信小游戏声音资源批量加载卡住,临时解决方案 [ 48%]

...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

2529. textinput(type=password)手机打开华为安全键盘后,无法关闭(官网的例子) [ 48%]

..../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

2530. 模拟器分辨率问题 [ 48%]

...候,会出现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