大约有 8 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0048 秒)
...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
...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
...型,否则不会把json认为是SPINE资源 Laya.loader.load("girl2/mix-and-match-pro.json", Laya.Loader.SPINE).then(() => { // 添加Spine3D渲染器组件到3D精灵节点上 this.spine3D = this.owner.addComponent(Laya.Spine3DRenderer); this.spine3D.source = "girl2/mix-and-match-pro.json"; //...
来源: Laya3.0_文档 发布时间: 20260203
...型,否则不会把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_文档 发布时间: 20260131
...据项目需求进行优化。 在 Cursor 编辑器中,进入 “Rules and Commands” 配置栏目,点击 ”Project Rules -> Add Rule“ 创建规则文件。如图2-6所示。将提供的规则模板内容复制到 .mdc 后缀的规则文件中即可生效。 (图2-6) 规则模板内...
来源: Laya3.0_文档 发布时间: 20260128
....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
...一。 3.5 dispatch 执行 Compute Shader 的执行推荐通过 ComputeCommandBuffer 发起,先添加 dispatch 命令,再在合适时机统一执行。 dispatch 的参数表示 workgroup 数量,而不是线程总数,因此需要结合 local_size 计算实际并行规模。 4. 资源文件结...
来源: Laya3.0_文档 发布时间: 20260131
...,添加回调方法 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