• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 282 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0087 秒)

81. 射线检测-放置物体 [ 55%]

...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

82. list中图片mask失效问题,补充附件 [ 55%]

...然后把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

83. laya.d3.core.scene.BaseScene [ 54%]

...map"时,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式有最大2048大小限制,会额外增加内存开销,不断重绘时开销比较大,但是会减少drawcall,渲染性能最高。 webgl下命令缓存模式只会...

来源: laya_api 发布时间: 20170422

84. 射线检测-点击行走 [ 53%]

...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

85. 求教 label.text之类的文本,能否支持从右到左的显示?或者有没有什么解决方案,现有阿拉伯文、维语的需求 [ 53%]

... //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

86. TypeError: Cannot read property '_byteLength' of null [ 53%]

...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

87. LayaAir3D 导出和使用U3D粒子特效 [ 53%]

...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

88. laya.d3.core.scene.Scene3D [ 52%]

...map"时,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲...

来源: Laya2.0_api 发布时间: 20190513

89. 在父sprite中添加子sprite ,移动父Sprite 子sprite为什么不动? [ 52%]

...= 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

90. 我照着例子做的换装例子切换不了卡槽的图片,附件为我的demo,请帮忙看看 [ 52%]

...,附件为我的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