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

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

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

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

来源: laya_api 发布时间: 20170422

82. 射线检测-点击行走 [ 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_示例 发布时间: 20251130

83. 求教 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

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

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

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

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

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

87. 在父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

88. 我照着例子做的换装例子切换不了卡槽的图片,附件为我的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

89. TypeError: Cannot read property '_byteLength' of null [ 52%]

...//F:/client_svn/h5/bin/libs/laya.webgl.js:4963:32) at SubmitCanvas.__proto.renderSubmit (file:///F:/client_svn/h5/bin/libs/laya.webgl.js:6294:18) at WebGLContext2D.__proto.submitElement (file:///F:/client_svn/h5/bin/libs/laya.webgl.js:4954:30) at WebGLContext2D.__proto.flush (file:///F:/client_svn/h...

来源: Laya_社区 发布时间: 20171111

90. laya.ui.List [ 51%]

...nheritanceList Box Component Sprite Node EventDispatcher ObjectImplements IRender, IItem List 控件可显示项目列表。默认为垂直方向列表。可通过UI编辑器自定义列表。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By al...

来源: laya_api 发布时间: 20170929