大约有 262 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0054 秒)
为模型指定地形材质报错 var lineMesh = scene.addChild(new Laya.MeshSprite3D(Laya.Mesh.load("line/lineMesh.lm")));var terMaterial = new Laya.TerrainMaterial(); terMaterial.diffuseTexture1=new Laya.Texture2D.load("map2.png"); terMaterial.diffuseTexture2=new Laya.Texture2D.load("map2.png"); ...
来源: Laya_社区 发布时间: 20170615
...对齐参照物 let reference: Laya.Sprite = new Laya.Sprite(); Laya.stage.addChild(reference); reference.pos(0, 0); reference.size(Laya.stage.width, Laya.stage.height); reference.graphics.drawRect(0, 0, reference.width, reference.height, "#CCCCCC"); let tipElmt = Laya.Browser.createElement("img"); ...
来源: Laya_社区 发布时间: 20180802
...a.stage.width / 480; bgSprite.scaleY = Laya.stage.height / 852; Laya.stage.addChild(bgSprite); 在安卓和其他的ios设备上都正常,但是在iphone xr上就遇到了显示不全的问题。 有问题的设备的相关信息如下: ios版本:12.2 微信版本:version 7.0.4 刚开...
来源: Laya_社区 发布时间: 20190525
...所以.atlas再子域用不了 Charles • 2018-08-20 15:05 题主,请问addChild为什么不能显示到舞台? A梁马勇 • 2018-05-07 21:11 开放数据域不支持图集,直接加载是可以的
来源: Laya_社区 发布时间: 20180507
... skeleton0 = _templet.buildArmature(); addChild(skeleton0); skeleton0.play("walk_left",true); } private function onError():void { console.log("parse error"); ...
来源: Laya_社区 发布时间: 20170204
...hics.drawTexture(texture, 0, 0, texture.width, texture.height); Laya.stage.addChild(sprite); }); 2018-11-23 添加评论 已悬赏5元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 阿噗 赞同来自: if(Browser.onMiniGame) { WXOpe...
来源: Laya_社区 发布时间: 20181123
...把此信息截图给研发商 Uncaught TypeError: Cannot read property 'addChild' of null TypeError: Cannot read property 'addChild' of null at Function.ViewRenderManager.show (file:///E:/LayaAirIDE_1.7.10_beta/resources/app/out/vs/layaEditor/h5/layabuilder.max.js:15196:27) at ParticleScene.__proto...
来源: Laya_社区 发布时间: 20170908
...res/spine/pantheon-s.sk"); spine.pos(200,400); spine.scale(0.5,0.5); stage.addChild(spine); //由 20 个项目(排列成 4 x 5 矩阵)组成的数组,红色 var redMat = [ 1, 0, 0, 0, 0, //R 0, 0, 0, 0, 0, //G 0, 0, 0, 0, ...
来源: Laya_社区 发布时间: 20180613
...n(GameConfig.startScene); let view = new ui.test.TestSceneUI(); Laya.stage.addChild(view) 发现runtime也没有运行,是设计就是这样的吗? 就不传demo了 就改动上面两处。 2019-10-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: ...
来源: Laya_社区 发布时间: 20191009
...把此信息截图给研发商 Uncaught TypeError: Cannot read property 'addChild' of null TypeError: Cannot read property 'addChild' of null at Function.ViewRenderManager.show (file:///E:/LayaAirIDE_1.7.10_beta/resources/app/out/vs/layaEditor/h5/layabuilder.max.js:15196:27) at ParticleScene.__proto...
来源: Laya_社区 发布时间: 20170908