大约有 35 项符合查询结果, 库内数据总量为 30,935 项。 (搜索耗时: 0.0031 秒)
...erial.albedoTexture = texture; })); //设置材质 layaMonkey.meshRenderer.sharedMaterial = customMaterial; //开启旋转 Laya.timer.frameLoop(1, this, function() { layaMonkey.transform.rotate(this.rotation, false); }); })); ``` ####
来源: 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_文档 发布时间: 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_文档 发布时间: 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
...lane的材质为创建的材质 this.plane.getComponent(Laya.MeshRenderer).sharedMaterial = mat1; //指定纹理为摄像机的渲染目标 mat1.albedoTexture = this.renderTargetCamera.renderTarget; 在LayaAir引擎中,渲染顺序renderingOrder越小,渲染优先度越高。 运行效果如动...
来源: Laya3.0_文档 发布时间: 20240910