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

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

1. CrazyGames · LayaAir3.3 · 引擎文档 · LAYABOX [ 100%]

...zyGames平台。 (图3-1) (图3-2) 上传完游戏后,点击Save and continue,进入QATool进行测试,这里模拟了CrazyGames真实平台的情况。 4. web端CrazyGames平台运行情况 在web端CrazyGames中运行API项目示例的3D: (图4-1) 在web端CrazyGames中运行AP...

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

2. 2D网格渲染器 · LayaAir3.3 · 引擎文档 · LAYABOX [ 87%]

...VertexInfo(info); v_texcoord = info.uv; v_color = info.color; #ifdef LIGHT_AND_SHADOW lightAndShadow(info); #endif gl_Position = pos; } #endGLSL #defineGLSL baseRenderPS #define SHADER_NAME baseRender2D #if defined(GL_FRAGMENT_PRECISION_HIGH) precision highp float; #else precision mediump float; #en...

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

3. Spine渲染器 · LayaAir3.3 · 引擎文档 · LAYABOX [ 67%]

...型,否则不会把json认为是SPINE资源 Laya.loader.load("girl2/mix-and-match-pro.json", Laya.Loader.SPINE).then(() => { // 添加Spine渲染器组件到精灵节点上 this.spine = this.owner.addComponent(Laya.Spine2DRenderNode); this.spine.source = "girl2/mix-and-match-pro.json"; // 设...

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

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

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

5. 网络通信 · LayaAir3文档 · LAYABOX [ 27%]

...,添加回调方法 http.once(Laya.Event.COMPLETE, this, this.completeHandler); //设置错误事件,添加回调方法 http.once(Laya.Event.ERROR, this, this.errorHandler); //设置进度事件,添加回调方法 http.on(Laya.Event.PROGRESS, this, this.processHandler); } private processHandle...

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