大约有 64 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0022 秒)
...erial.albedoTexture = texture; })); //设置材质 layaMonkey.meshRenderer.sharedMaterial = customMaterial; //开启旋转 Laya.timer.frameLoop(1, this, function() { layaMonkey.transform.rotate(this.rotation, false); }); })); ```  ### 2. stateMap 在 `subShader` 添加通道时,除...
来源: Laya2.0_文档 发布时间: 20210715
...erial.albedoTexture = texture; })); //设置材质 layaMonkey.meshRenderer.sharedMaterial = customMaterial; //开启旋转 Laya.timer.frameLoop(1, this, function() { layaMonkey.transform.rotate(this.rotation, false); }); })); ```  ### 2. stateMap 在 `subShader` 添加通道时,除...
来源: Laya2.0_文档 发布时间: 20210714
...(CustomMaterial.DIFFUSETEXTURE_ID, value); } }设置材质 mesh.meshRender.sharedMaterials = mats; 设置了材质后,动作就静止了 2017-08-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 Supermang42 赞...
来源: Laya_社区 发布时间: 20170815
...derer); // 设置相同的材质与网格 filter.sharedMesh = mesh; render.sharedMaterial = this.batchMat; //随机位置 sprite.transform.localPosition = this._getRandomPosition(positionRanvge); //随机一个颜色索引 let colorIndex = Math.floor(Math.random() * this._colorNums); //设置节点...
来源: Laya3.0_文档 发布时间: 20251010