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

大约有 319 项符合查询结果, 库内数据总量为 30,934 项。 (搜索耗时: 0.0044 秒)

241. laya.d3.core.particle.Particle3D [ 51%]

..._updateConch(state:RenderState):void[override] 更新 RenderableSprite3D addChild(node:Node):Node[override] 添加子节点。 Sprite3D addChildAt(node:Node, index:int):Node[override] 添加子节点到指定的索引位置。 Sprite3D addChildren(... args):void 批量增加子节点 Node addCom...

来源: laya_api 发布时间: 20170603

242. 使用mask后,只要调用 Laya.Resource.destroyUnusedResources() 就会引起报错 [ 51%]

....drawRect(0, 0, 200, 200, "#0xFFFF00"); bgSprite.pos(300, 300); Laya.stage.addChild(bgSprite); let mask = new Laya.Sprite(); bgSprite.mask = mask; mask.graphics.drawCircle(0, 0, 100, "0x0000FF"); window.onblur = function() { console.log("onblur....?"); Laya.timer.once(2000, null, function() { Laya.R...

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

243. 分享:Graphics下cmds命令流的使用! [ 51%]

...3.png') as Texture; //绘制纹理 var box:Sprite=new Sprite(); Laya.stage.addChild(box); box.graphics.drawTexture(texture1,50,50,0,0,new Matrix(),0.5); box.graphics.drawTexture(texture2,200,50,0,0,new Matrix(),0.5); box.graphics.drawTexture(texture3,350,50,0,0,new Matrix(),0.5); box.graphics.drawTe...

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

244. 场景环境反射(TypeScript-3D基础(TS)-LayaAir3D之场景渲染配置) [ 51%]

...ot-Teapot001.lm", Laya.Handler.create(null, function(mesh){ teapot = scene.addChild(new Laya.MeshSprite3D(mesh)); teapot.transform.position = new Laya.Vector3(0, 1.75, 2); teapot.transform.rotate(new Laya.Vector3(-90, 0, 0), false, false); })); //加载纹理 Laya.Texture2D.load("res/threeDimen/pbr/...

来源: Laya2.0_文档 发布时间: 20210715

245. 场景环境反射(JavaScript-3D基础(JS)-LayaAir3D之场景渲染配置) [ 51%]

...t-Teapot001.lm", Laya.Handler.create(null, function(mesh) { teapot = scene.addChild(new Laya.MeshSprite3D(mesh)); teapot.transform.position = new Laya.Vector3(0, 1.75, 2); teapot.transform.rotate(new Laya.Vector3(-90, 0, 0), false, false); })); //实例PBR材质 var pbrMat = new Laya.PBRStandardMate...

来源: Laya2.0_文档 发布时间: 20210715

246. LayaAir3D 导出和使用U3D粒子特效 [ 51%]

...NE 微信 颜颜粑粑 赞同来自: var particleSprite3D:Sprite3D = scene.addChild(Sprite3D.load("...")) as Sprite3D; particleSprite3D.transform.position = new Laya.Vector3(100,0,0);   这样写 无法移动例子效果? 2018-05-09 0 6 分享 微博 QZONE 微信 绝地求生 赞同来自: unity5...

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

247. Laya.Sprite3D.instantiate克隆的对象过多,渲染不出来 [ 51%]

...ex++){ var circle = Laya.Sprite3D.instantiate(this.m_circle) this.m_pillar.addChild(circle); this.m_arrCircle.push(circle); this.m_vLastPos.y -= 60; circle.transform.localPosition = this.m_vLastPos; circle.active = true; } 2018-08-09 0 0 分享 微博 QZONE 微信 luckybryce 赞同来自: 回馈一...

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

248. laya.d3.core.Camera [ 51%]

...序。 BaseCamera addAllLayers():void 增加所有图层。 BaseCamera addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node  addCommandBuffer(event:int, comma...

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

249. 场景环境反射(ActionScript-3D基础(AS3)-LayaAir3D之场景渲染配置) [ 51%]

...pot001.lm", Handler.create(null, function(mesh:Mesh):void { teapot = scene.addChild(new MeshSprite3D(mesh)) as MeshSprite3D; teapot.transform.position = new Vector3(0, 1.75, 2); teapot.transform.rotate(new Vector3(-90, 0, 0), false, false); })); //实例PBR材质 var pbrMat:PBRStandardMaterial = new...

来源: Laya2.0_文档 发布时间: 20210715

250. 微信小游戏:HTMLDivElement的使用 [ 50%]

...引入即可。 代码片段: var p = new HTMLDivElement(); Laya.stage.addChild(p); p.style.font = "Impact"; p.style.fontSize = 30; var html = "<span color='#e3d26a'>使用</span>"; html += "<span style='color:#FFFFFF;font-weight:bold'>HTMLDivElement</span>"; html += "<s...

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