大约有 10 项符合查询结果, 库内数据总量为 30,935 项。 (搜索耗时: 0.0035 秒)
...yaMonkey.meshRenderer.sharedMaterial = customMaterial; //开启旋转 Laya.timer.frameLoop(1, this, function() { layaMonkey.transform.rotate(this.rotation, false); }); })); ``` ####
来源: Laya2.0_文档 发布时间: 20210715
...yaMonkey.meshRenderer.sharedMaterial = customMaterial; //开启旋转 Laya.timer.frameLoop(1, this, function() { layaMonkey.transform.rotate(this.rotation, false); }); })); ``` ####
来源: Laya2.0_文档 发布时间: 20210715
...省略,我们再网格加载完成3秒后对该网格进行销毁 Laya.timer.once(3000,this,function () { //销毁了使用该网格的节点 layaMonkey.destroy(); //对使用资源进行销毁,注意调用资源destroy的话,就算加锁也是会被销毁的。 Laya.Resource.destroyUnusedResour...
来源: Laya2.0_文档 发布时间: 20210715
...yaMonkey.meshRenderer.sharedMaterial = customMaterial; //开启旋转 Laya.timer.frameLoop(1, this, function() { layaMonkey.transform.rotate(this.rotation, false); }); })); ``` ####
来源: Laya2.0_文档 发布时间: 20210715
...省略,我们再网格加载完成3秒后对该网格进行销毁 Laya.timer.once(3000,this,function ():void { //销毁了使用该网格的节点 layaMonkey.destroy(); //对使用资源进行销毁,注意调用资源destroy的话,就算加锁也是会被销毁的。 Resource.destroyUnusedResour...
来源: Laya2.0_文档 发布时间: 20210715
...省略,我们再网格加载完成3秒后对该网格进行销毁 Laya.timer.once(3000,this,function ():void { //销毁了使用该网格的节点 layaMonkey.destroy(); //对使用资源进行销毁,注意调用资源destroy的话,就算加锁也是会被销毁的。 Laya.Resource.destroyUnusedR...
来源: Laya2.0_文档 发布时间: 20210715
...yaMonkey.meshRenderer.sharedMaterial = customMaterial; //开启旋转 Laya.timer.frameLoop(1, this, function() { layaMonkey.transform.rotate(this.rotation, false); }); })); ```  ### 2. stateMap 在 `subShader` 添加通道时,除了顶点着色器与片段着色器之外,还有第...
来源: Laya2.0_文档 发布时间: 20210715
...yaMonkey.meshRenderer.sharedMaterial = customMaterial; //开启旋转 Laya.timer.frameLoop(1, this, function() { layaMonkey.transform.rotate(this.rotation, false); }); })); ```  ### 2. stateMap 在 `subShader` 添加通道时,除了顶点着色器与片段着色器之外,还有第...
来源: Laya2.0_文档 发布时间: 20210715
...yaMonkey.meshRenderer.sharedMaterial = customMaterial; //开启旋转 Laya.timer.frameLoop(1, this, function() { layaMonkey.transform.rotate(this.rotation, false); }); })); ```  ### 2. stateMap 在 `subShader` 添加通道时,除了顶点着色器与片段着色器之外,还有第...
来源: Laya2.0_文档 发布时间: 20210714
...位图字体的入口放到位图字体加载回调的注册之后。 Laya.timer.frameOnce(5, this, () => { //使用注册完的位图字体来创建文本 this.createText(this.texturFontName); //把注册完的位图字体绑定给UI组件,否则显示不出来位图字体 this._text.font = this....
来源: Laya2.0_文档 发布时间: 20210715