大约有 1,723 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0060 秒)
Laya_社区(1004) Laya3.0_api(243) Laya2.0_示例(91) Laya_示例(90) Laya2.0_文档(89) Laya2.0_api(82) laya_api(75) Laya3.0_文档(49)
...Laya.HTMLCanvas = Laya.stage.drawToCanvas(Laya.stage.width, Laya.stage.height, 0, 0); let base64Img = htmlCanvas.toBase64("image/png", 0.8); 而 关闭视网膜屏幕或者在屏幕像素比为1的设备上正常 附件 : --> 2020-10-19 ...
来源: Laya_社区 发布时间: 20201019
...out.x - this.hpNode.width / 2 this.hpNode.y = out.y + this.hpNode.height *3.5 //this.owner.transform 3d的物体 //this.hpNode 2d的ui //3d坐标转2d屏幕坐标 /** * * @param {*} point 3d世界坐标 * @param {*} camera 摄像机 ...
来源: Laya_社区 发布时间: 20201110
...ion this.cxt.fillText(text, this.cav.width / 2, this.cav.height); ^^ TypeError: this.cxt.fillText is not a function at TextureManager.getWebCharBmp (http://192.168.101...
来源: Laya_社区 发布时间: 20200409
..."#000000"); s.pos(0,0); console.log("=mask container=>>", s.width, s.height)//打印出是0,0 this.scrollContainer.mask = s;//scrollContainer是一个有宽高的Box,为什么打印出的s的宽高是0,0,只要设置了mask,chrorme就会警告cache bitmap size larger than 2048,cache ig...
来源: Laya_社区 发布时间: 20180828
...fff"); this.img.mask = mask; this.img.pos(Laya.stage.width / 2, Laya.stage.height / 2); Laya.stage.addChild(this.img); 附件 : --> 2017-01-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自...
来源: Laya_社区 发布时间: 20170106
...t = new Laya.Text(); txt.text = "武器坐骑角色"; txt.width = 250; txt.height = 250; txt.wordWrap = true; txt.align = "center"; txt.font = this.mFontName; txt.fontSize = 50; txt.leading = 5; Laya.stage.addChild(txt); } } new GameMain(); 资源能加载到,但运行后什么都没有看见。...
来源: Laya_社区 发布时间: 20171028
...rowser.document.createElement("div"); div.style.width = "600px"; div.style.height = "400px"; Laya.Browser.document.body.appendChild(div); var myChart = new Laya.Browser.window.echarts.init(div); var option = { title: { text: 'ECharts 入门示例' }, tooltip: {}, legend: { data:['销量'] }, xAxis: ...
来源: Laya_社区 发布时间: 20180707
..., false, 0xcccccc); var bmp:Bitmap = new Bitmap(bmd); bmp.width = 960; bmp.height = 640; var sp:Sprite = new Sprite(); sp.addChild(bmp); this.addChildAt(sp, 0); Multitouch.inputMode = MultitouchInputMode.TOUCH_POINT; sp.addEventListener(TouchEvent.TOUCH_BEGIN, onTouchBegin); } protected function onT...
来源: Laya_社区 发布时间: 20160122
...not assignable to type '(source: any, x: number, y: number, width: number, height: num ber, offsetX?: number, offsetY?: nu...'. Types of parameters 'mipMap' and 'offsetX' are incompatible. Type 'number' is not assignable to type 'boolean'. 2017-07-21 添加评论 免费帖 --...
来源: Laya_社区 发布时间: 20170721
...ontainer: gameWorld, controller: LayaRender, options: { width: stageWidth, height: stageHeight, wireframes: false } } }); 2017-01-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自: 0.9.3版...
来源: Laya_社区 发布时间: 20170106