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

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

1. 3D性能优化 · LayaAir3.3 · 引擎文档 · LAYABOX [ 100%]

...手机上过大的数据可能存在uniform超出的风险。 Copyright ©Layabox 2025 all right reserved,powered by LayaAir Engine更新时间: 2025-10-10 16:27:55 img{cursor:pointer}

来源: Laya3.0_文档 发布时间: 20251010

2. 自定义3D Shader · LayaAir3.3 · 引擎文档 · LAYABOX [ 99%]

...e做一个比较,一般是以材质上的RenderMode为主。 Copyright ©Layabox 2025 all right reserved,powered by LayaAir Engine更新时间: 2025-10-10 16:27:55 img{cursor:pointer}

来源: Laya3.0_文档 发布时间: 20251010

3. 启动页设置 · LayaAir3.3 · 引擎文档 · LAYABOX [ 90%]

...enter Duration=5000 #5000ms = 5秒 PositionX=0.5 PositionY=0.3 Copyright ©Layabox 2025 all right reserved,powered by LayaAir Engine更新时间: 2025-11-28 17:11:46 img{cursor:pointer}

来源: Laya3.0_文档 发布时间: 20251128

4. CommandBuffer · LayaAir3.3 · 引擎文档 · LAYABOX [ 89%]

...blitScreenQuadByMaterial(subRendertexture,null); return buf; } Copyright ©Layabox 2025 all right reserved,powered by LayaAir Engine更新时间: 2025-10-10 16:27:55 img{cursor:pointer}

来源: Laya3.0_文档 发布时间: 20251010

5. 3D灯光与阴影 · LayaAir3.3 · 引擎文档 · LAYABOX [ 85%]

... spotLightCom.intensity = 15; spotLightCom.spotAngle = 60; } } Copyright ©Layabox 2025 all right reserved,powered by LayaAir Engine更新时间: 2025-10-10 16:27:55 img{cursor:pointer}

来源: Laya3.0_文档 发布时间: 20251010

6. 2D方向光 · LayaAir3.3 · 引擎文档 · LAYABOX [ 84%]

... 示例中的变暗效果如动图3-1所示, (动图3-1) Copyright ©Layabox 2025 all right reserved,powered by LayaAir Engine更新时间: 2025-10-10 16:27:56 img{cursor:pointer}

来源: Laya3.0_文档 发布时间: 20251010

7. 组件脚本的内置方法 · LayaAir3.3 · 引擎文档 · LAYABOX [ 82%]

...F2等不是字符输入的按键,就不会执行此方法。 Copyright ©Layabox 2025 all right reserved,powered by LayaAir Engine更新时间: 2025-10-10 16:27:57 img{cursor:pointer}

来源: Laya3.0_文档 发布时间: 20251010

8. 和原生Dom交互 · LayaAir3.3 · 引擎文档 · LAYABOX [ 82%]

...ser.window.QRCode(div,{ width:100, height:100 }); var url:string = "http://layabox.com/"; this.qrcode.makeCode(url); Laya.stage.once("click",this,this.clickHandler); this.qrcodeSp = new Laya.Sprite(); Laya.stage.addChild(this.qrcodeSp); 编译运行上面的代码,然后点击舞台可以看到,...

来源: Laya3.0_文档 发布时间: 20251010

9. 实体组件系统 · LayaAir3.3 · 引擎文档 · LAYABOX [ 77%]

...直接获取到加载实例化后的prefab。 (动图4-5) Copyright ©Layabox 2025 all right reserved,powered by LayaAir Engine更新时间: 2025-10-10 16:28:00 img{cursor:pointer}

来源: Laya3.0_文档 发布时间: 20251010

10. 3D基础显示对象 · LayaAir3.3 · 引擎文档 · LAYABOX [ 69%]

...PhongMaterial(); //预加载纹理资源 let resource: string = "resources/layabox.png"; Laya.loader.load(resource).then(() => { //为材质加载纹理 let tex = Laya.Loader.getTexture2D(resource); //设置贴图 boxMaterial.albedoTexture = tex; }); boxRender.sharedMaterial = boxMaterial; 运行...

来源: Laya3.0_文档 发布时间: 20251010