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

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

651. drawTexture时,Matrix对象,a=-1,无法实现水平翻转 [ 61%]

...raphics.drawTexture(t,100,100,t.width,t.height,matrix);     Laya.stage.addChild(ape);     ape.pos(0, 0);    }));   设置new一个Matrix 然后设置水平偏移量tx 将屏幕外的图像移回舞台   2017-02-21 1 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 ...

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

652. wx.getFileSystemManager is not a function [ 61%]

...eError: tex.once is not a function 官方视频教程中飞机大战 "this.addChild is not a function" 打地鼠发布成微信小游戏后提示gameThirdScriptError this.preinitialize is not a function "this.moles[this.index].show is not a function" api readFile success callback function undefined ...

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

653. 如何在3d场景中添加文字 [ 61%]

..."Arial"; this.txtName.bold = true; this.txtName.align = "left"; Laya.stage.addChild(this.txtName); //设置其他玩家角色名称跟随角色模型 var currPosition2:Laya.Vector3 = new Laya.Vector3(this._position.x, 5, this._position.z); this.otherGameScene.viewport.project(currPosition2,this.othe...

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

654. 3D灯光与阴影 · LayaAir3.4 · 引擎文档 · LAYABOX [ 61%]

...(); let pointCom = pointLight.addComponent(Laya.PointLightCom); this.scene.addChild(pointLight); //点光源的颜色 pointCom.color = new Laya.Color(1.0, 0.5, 0.0, 1); //设置点光源的范围 pointCom.range = 3.0; pointLight.transform.position = new Laya.Vector3(0.0, 1, 0.0); 三、DirectionLigh...

来源: Laya3.0_文档 发布时间: 20251010

655. Laya.Handler.create 加载图片回调参数问题 [ 61%]

..., Laya.Browser.height, Laya.WebGL); var sp = new Laya.Sprite(); Laya.stage.addChild(sp); sp.loadImage("res/img/popular.png", 0, 0, 0, 0, Laya.Handler.create(this, function (a1, a2) { console.log(a1, a2); }), [100]);   为什么能把Laya.Hander.create后面带的这个参数传到Function里面?...

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

656. Ts HTMLDivElement href标签为何没有下划线 [ 61%]

...ayaBox</span><span>欢迎你的加入</span>" Laya.stage.addChild(div); Ts HTMLDivElement href标签为何没有下划线,AS版本却有? 2018-06-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个...

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

657. add PhysicsCollider组件的时候之间运行报错【2.0beta5.1] [ 61%]

...3D = new MeshSprite3D(boxMesh); box3D.addComponent(PhysicsCollider); scene.addChild(box3D); 附件 : --> 2019-01-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 131*****361 赞同来自: 找到了,F9导入对...

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

658. 怎么给从模型生成的地形TerrainMaterial材质??? [ 60%]

...ar terrain = Laya.Mesh.load("line/lineMesh.lm"); var terrainSprite = scene.addChild(Laya.MeshTerrainSprite3D.createFromMesh(terrain, 129, 129)); var terMaterial = new Laya.TerrainMaterial(); terMaterial.diffuseTexture1=new Laya.Texture2D.load("map2.png"); terMaterial.diffuseTexture2=new Laya.Texture...

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

659. TiledMap.moveViewPort(x,y) 为嘛要传入负数 [ 60%]

...is.tMap.height)/2),this.tMap.width,this.tMap.height);         this.addChild(this.tMap.mapSprite()); 请问这是什么意思啊 2020-04-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠?...

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

660. 提示错误在laya.core.js里 [ 60%]

...ya.Handler.create(this,function(scene){             Laya.stage.addChild(scene);         }));     } } 2020-05-16 添加评论 已悬赏30元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 5 个回复 Laya_XS 赞同来自: Ace...

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