大约有 116 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0046 秒)
...nMatrix projectionViewMatrix renderTarget renderingOrder scene skyRenderer timer transform url viewMatrix viewport _updateMark Methods _applyCommandBuffer _createOpaqueTexture _initialize _isLayerVisible _needRenderGamma _processActive _updateCameraRenderData addAllLayers addChild addChildAt addChil...
来源: Laya3.0_api 发布时间: 20231115
...省略,我们再网格加载完成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
...ess projectionMatrix projectionViewMatrix renderingOrder scene skyRenderer timer transform url viewMatrix viewport _updateMark Methods _applyCommandBuffer _createOpaqueTexture _initialize _isLayerVisible _needRenderGamma _processActive _updateCameraRenderData addAllLayers addChild addChildAt addChil...
来源: Laya3.0_api 发布时间: 20231115
...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
...yaMonkey.meshRenderer.sharedMaterial = customMaterial; //开启旋转 Laya.timer.frameLoop(1, this, function() { layaMonkey.transform.rotate(this.rotation, false); }); })); ``` ####
来源: Laya2.0_文档 发布时间: 20210715
...e.mouseY - this.lastMouseY; } public get deltaTime(): number { return Laya.timer.delta / 1000; } public deltaWheel: number = 0; public FORWORD: Vector3 = new Vector3(); public get GetForward(): Vector3 { this.transform.getForward(this.FORWORD); return this.FORWORD } protected lastMouseX: number = 0;...
来源: Laya_社区 发布时间: 20190224
...用显示Loading场景 Laya.Scene.showLoadingPage(this.loadingScene); Laya.timer.once(3000,this,()=>{ //3秒后跳转到Game场景 Laya.Scene.open("Game.ls"); }) } } 在打开的场景Scene.ls下,挂上脚本,并拖入Loading.lh作为场景。 (图2-5) 这样就可以使用Loading场景...
来源: Laya3.0_文档 发布时间: 20240910
...yaMonkey.meshRenderer.sharedMaterial = customMaterial; //开启旋转 Laya.timer.frameLoop(1, this, function() { layaMonkey.transform.rotate(this.rotation, false); }); })); ```  ### 2. stateMap 在 `subShader` 添加通道时,除了顶点着色器与片段着色器之外,还有第...
来源: Laya2.0_文档 发布时间: 20210715