大约有 1,723 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0058 秒)
Laya_社区(1004) Laya3.0_api(243) Laya2.0_示例(91) Laya_示例(90) Laya2.0_文档(89) Laya2.0_api(82) laya_api(75) Laya3.0_文档(49)
...aaron • 2017-08-26 17:23 利用getBounds获取的时候发现sprite是有height和width的,为什么还要设置size呢?
来源: Laya_社区 发布时间: 20170826
...文本居右问题 const lb: HTMLDivElement = this.lb; lb.width = 100; lb.height = 24; const html1 = '<div style="float:right;"><span>1</span><span>2</span></div>'; const html2 = '<span style="float:right;">1</span>'; const html3 = '<div style="wid...
来源: Laya_社区 发布时间: 20190531
...截屏接口使用的是 drawToCanvas(this.basePanel.width, this.basePanel.height, this.basePanel.x, this.basePanel.y).toBase64("image/png", 0.9, function(base64) 请问这个怎么解决,谢谢啦 2019-06-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请:...
来源: Laya_社区 发布时间: 20190624
...候,所有子项的xy都默认是0,0,并没有根据子项的width和height进行排列 2019-12-05 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 铭桑 相关问题 微信小程序—未找到入口 app.json 文件,或者文件读...
来源: Laya_社区 发布时间: 20191205
... bgI = new Image(bgNameS); bgS.addChild(bgI); trace(bgS.width,bgS.height);//此时打印的宽高都为0 这直接会影响到vbox和hbox的排列,如下 var vbox:VBox = new VBox(); vbox.space = 30; addChild(vbox); bgS1 = new Sprite(); bgI1 = new Image(bgNameS); bgS1.addChild(bgI1);...
来源: Laya_社区 发布时间: 20170828
...置绕自身中心点旋转,我这么设置_ani.pivot(_ani.width/2,_ani.height/2);不行,而且也没有锚点可以设置,如何实现 Laya的Scene和View什么区别? 求解:2D项目中加载View,Laya.Scene.load应该如何使用? 问题状态 最新活动: 2020-08-31 10:28 浏览: 2...
来源: Laya_社区 发布时间: 20200829
...ument.createElement("iframe"); this.frame.width=this.con.width; this.frame.height=850; this.frame.style.margin="0"; this.frame.style.padding="0"; this.frame.style.left="0"; this.frame.style.top="50px"; this.frame.id="OneGou"; this.frame.style.position="absolute"; this.frame.style.zIndex=100; this.fr...
来源: Laya_社区 发布时间: 20190316
...dvanced&name=AStarFindPath 主要有2个问题: 1.AstarMap 和 HeightMap 怎么生成,用什么工具?或者unity插件名字叫什么 2.Texture2D加载的时候canRead属性怎么设置? 安装官方的加载示例,texuture2d加载后无法设置canRead啊 2018-11-20 添...
来源: Laya_社区 发布时间: 20181120
...50这个例子中 在1.7.7.beta版中Laya.init(Browser.width, Browser.height,WebGL)情况下截屏时,时而有时而无,在火狐浏览器几乎不能截屏。 但在1.7.6能解决问题但用drawTexture绘制截屏时很卡顿,而在1.7.7beta中用drawTexture时,虽然快了但 时...
来源: Laya_社区 发布时间: 20170628
...aRender.create( { engine: engine, container: gameWorld, width: stageWidth, height: stageHeight, options: { wireframes: true, showAngleIndicator: true //无法开启 } }); 哎,为什么你们习惯要开发者上传Demo给你们发现问题呢?自己开发不会去翻下?搞得跟运营商...
来源: Laya_社区 发布时间: 20180120