大约有 282 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0059 秒)
Laya_社区(76) Laya3.0_api(62) Laya2.0_api(58) laya_api(54) Laya3.0_文档(13) Laya2.0_文档(13) Laya_示例(6)
...box.png"); planeMat.albedo = new Laya.Vector4(0.9, 0.9, 0.9, 1); plane.meshRender.material = planeMat; var meshCollider = plane.addComponent(Laya.MeshCollider); meshCollider.mesh = plane.meshFilter.sharedMesh; Laya.timer.frameLoop(1, this, checkHit); var ray = new Laya.Ray(new Laya.Vector3(0, 0, 0),...
来源: Laya_示例 发布时间: 20260303
...然后把Box转换为List,同样设置List的left right为0.。设置Box为render之后,把List的repeatY设置随便一个数。。然后启动游戏就会出现了。。。 qian • 2018-02-10 20:03 还是你这个demo么 wei28liang90 • 2018-02-01 11:53 对的。。。他们都是同一个list...
来源: Laya_社区 发布时间: 20180131
...map"时,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式有最大2048大小限制,会额外增加内存开销,不断重绘时开销比较大,但是会减少drawcall,渲染性能最高。 webgl下命令缓存模式只会...
来源: laya_api 发布时间: 20170422
...box.png"); planeMat.albedo = new Laya.Vector4(0.9, 0.9, 0.9, 1); plane.meshRender.material = planeMat; var meshCollider = plane.addComponent(Laya.MeshCollider); meshCollider.mesh = plane.meshFilter.sharedMesh; var box = scene.addChild(new Laya.MeshSprite3D(new Laya.BoxMesh(0.5, 0.5, 0.5))); var mat ...
来源: Laya_示例 发布时间: 20260303
... //Browser.document.body.style.direction = "rtl"; Render._mainCanvas.source.style.direction = "rtl"; Text.RightToLeft = true; Browser.document.body.appendChild(Browser.canvas.source); } 2018-03-13 0 0 分享 ...
来源: Laya_社区 发布时间: 20180313
...LContext2D.__proto.flush (GameLoader.max.js:25474) at SubmitCanvas.__proto.renderSubmit (GameLoader.max.js:26595) at WebGLContext2D.__proto.submitElement (GameLoader.max.js:25465) at WebGLContext2D.__proto.flush (GameLoader.max.js:25487) at RenderContext.__proto.flush (GameLoader.max.js:11156) at St...
来源: Laya_社区 发布时间: 20180125
...dient Emission -> Rate over Distance Shape -> Shape -> Mesh, Mesh Render, Skinned Mesh Render, Edge Limit Velocity over Lifetime Inherit Velocity Force over Lifetime Color by Speed Size by Speed Rotation by Speed External Forces Noise Collision Triggers Sub Emitters Texture Sheet Animation ...
来源: Laya_社区 发布时间: 20161219
...map"时,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲...
来源: Laya2.0_api 发布时间: 20190513
...= function(x,y){ // this.x = x; // this.y = y; // this.visible =true; this.render(); this.mountain.pos(x,y); this.aeroboat.x = x; this.aeroboat.y = y; this.tower.x = x; this.tower.y = y; this.ball.x = x; this.ball.y = y; this.statue.x = x; this.statue.y = y; this.angel.x = x; this.angel.y = y; this....
来源: Laya_社区 发布时间: 20170720
...,附件为我的demo,请帮忙看看 if (this.currTexture && Render.isWebGL && this.currDisplayData.type==0 && this.currDisplayData.uvs){ this.currTexture=this.currDisplayData.createTexture(this.currTexture); } 跟代码发现this.currDisplayData.uvs是null这是为什么...
来源: Laya_社区 发布时间: 20180201