大约有 1,258 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0080 秒)
Laya_社区(854) Laya2.0_文档(116) Laya3.0_api(79) Laya2.0_api(73) laya_api(68) Laya3.0_文档(54) Laya2.0_示例(8) Laya_示例(6)
...aya.Texture.create(imgBig,0,0,100,100); imgCut.texture=texture; Laya.stage.addChild(imgCut); 2019-04-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 个回复被折叠 要回复问题请先...
来源: Laya_社区 发布时间: 20190427
... 是否我要使用3d模型,就必须创建scene才能够加载出来,addchild到普通sprite里面可以吗。 2018-03-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 qian 赞同来自: 不可以 2018-03-10...
来源: Laya_社区 发布时间: 20180309
...ent.hScrollBarSkin = ""; panelParent.hScrollBar.isVertical = false; this.addChild(panelParent ); _putChild: function (parentName, path, col, row, cellSize, offset, scale) { var root = this.getChildByName(parentName); var cell = uiUtils.createSprite(path); root.addChild(ce...
来源: Laya_社区 发布时间: 20170410
...createLightOccluder(): void { this.lightOccluder.pos(233, 265); this.owner.addChild(this.lightOccluder); let lightOccluderComponent = this.lightOccluder.addComponent(Laya.LightOccluder2D); lightOccluderComponent.canInLight = true; lightOccluderComponent.outside = true; let poly: Laya.PolygonPoint2D ...
来源: Laya3.0_文档 发布时间: 20251010
...lt:", outHitResult); var lineSprite: Laya.PixelLineSprite3D = this.myScene.addChild(new Laya.PixelLineSprite3D(5)) as Laya.PixelLineSprite3D; lineSprite.addLine(ray.origin, ray.direction, Laya.Color.BLUE, Laya.Color.RED); this.lineSprite.addChild(lineSprite); if (outHitResult.succeeded) { //删除...
来源: Laya_社区 发布时间: 20191219
...设置舞台背景颜色为透明 sprite设置了cacheas,removechild再addchild之后原先设置的cacheas无效,通过监测面板可以看到。请问这是不是bug? 添加舞台事件问题? List应该以高度而不是行数(repeatY)做为显示标准 微信小游戏舞台背景色无...
来源: Laya_社区 发布时间: 20170802
...ader.ATLAS); function onLoaded(){ Laya.sg_sign = new sg_sign(); Laya.stage.addChild(Laya.sg_sign); } function onWxSign1(){ Laya.sg_sign.removeSelf(); Laya.Pool.recover("sg_sign",Laya.sg_sign); Laya.sg_index = new sg_index(); Laya.stage.addChild(Laya.sg_index); } 这样写可以吗 还有ui和代码...
来源: Laya_社区 发布时间: 20170725
...();//把上次的绘制清除 sp.graphics.drawTexture(texture); Laya.stage.addChild(sp); } 2017-05-05 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 jacksing888 相关问题 请问LayaAir中如何使图片以圆形的方式显示? 安...
来源: Laya_社区 发布时间: 20170505
...fffff'; //将文本内容添加到舞台 Laya.stage.addChild(txt); } } } ``` **步骤三**:完成代码编写后,使用之前定义的编译快捷键(Alt+F5),把AS3代码编译成HTML5。  图(10) 编译完成后,编...
来源: Laya2.0_文档 发布时间: 20210715
... Animation(); testAnim1.loadAnimation("res/fish_1/fish_1.ani"); Laya.stage.addChild(testAnim1); testAnim1.play(0,true,"stand_" + 0); testAnim1.pos(500, 300); //------------------------------------------------------------------------------ testAnim2 = new Animation(); testAnim2.loadAnimation("res/fis...
来源: Laya_社区 发布时间: 20180424