大约有 116 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0042 秒)
...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
...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_社区 发布时间: 20170714
...代码中使用 关于逻辑贞更新间隔机制、时间和其他一些Timer相关的问题 LayaAir2.61 测试版 物理引擎bug 百分百 复现 IDE通过.ui自动生成的ui代码报错 LayaAirIDE1.4版本里用TS引擎库使用view嵌套发布html5报"Uncaught TypeError:Cannot set property 'y'...
来源: Laya_社区 发布时间: 20190516
...位图字体的入口放到位图字体加载回调的注册之后。 Laya.timer.frameOnce(5, this, () => { //使用注册完的位图字体来创建文本 this.createText(this.texturFontName); //把注册完的位图字体绑定给UI组件,否则显示不出来位图字体 this._text.font = this....
来源: Laya2.0_文档 发布时间: 20210715
...te rotation: Laya.Vector3 = new Laya.Vector3(0, 0.01, 0); onStart() { Laya.timer.frameLoop(1, this, ()=> { this.cube.transform.rotate(this.rotation, false); }); } } 效果如动图4-4所示: (动图4-4) 4.1.3 3D节点的进阶使用 @property( { type :Laya.Sprite3D } ) //节点类型 public...
来源: Laya3.0_文档 发布时间: 20250103