大约有 969 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0076 秒)
Laya_社区(501) Laya2.0_示例(94) Laya_示例(89) Laya2.0_文档(88) Laya3.0_api(63) Laya2.0_api(58) laya_api(54) Laya3.0_文档(22)
...t.body.appendChild(this.mapDiv); // 适应窗口尺寸 this.refit(); Laya.stage.on(Laya.Event.RESIZE, this, this.refit); // 初始化地图 this.map = new this.BMap.Map(this.mapDiv); // 禁用部分交互 //this.map.disableDragging(); this.map.disableKeyboard(); this.map.disableScrollWheelZoom();...
来源: Laya2.0_文档 发布时间: 20210714
...nt.body.appendChild(this.mapDiv); // 适应窗口尺寸 this.refit(); Laya.stage.on(Laya.Event.RESIZE, this, this.refit); // 初始化地图 this.map = new this.BMap.Map(this.mapDiv); // 禁用部分交互 //this.map.disableDragging(); this.map.disableKeyboard(); this.map.disableScrollWheelZoom(); t...
来源: Laya3.0_文档 发布时间: 20251010
...0, null, true, true, null, 80/56, 80/56); let t2 = new Laya.Sprite(); Laya.stage.addChild(t2); let Texture = Laya.Texture.create(t, 0, 0, t.width, t.height); t2.graphics.drawImage(Texture, 0, 0, 56, 56); } 2025-09-23 0 0 分享 微博 QZONE 微信 LayaAir大为 赞同来自: 肖亮亮 您好,我...
来源: Laya_社区 发布时间: 20250827
...261 赞同来自: 创建的话如果不设置pos()位置的话默认为Stage的(0,0)点如果第一次创建设置了相应位置然后再移除后再次创建是不会存储你上次创建后设置的位置的,如果第二次创建没有重新设置位置的话,还是会默认创建...
来源: Laya_社区 发布时间: 20180411
... tiledMap.createMap("../res/dt.json", new Rectangle(0, 0, Laya.stage.width, Laya.stage.height), null); 调用后报错TypeError: Cannot read property 'split' of undefined at TiledMap.__proto.mergePath (file:///C:/Users/Administrator/Documents/myLaya/Hello/bin/libs/laya.tiledmap.j...
来源: Laya_社区 发布时间: 20181026
... = [0, 4, 0, 4]; input.restrict = "0-9";//限制输入字符为数字 Laya.stage.addChild(input); 2019-02-26 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 wu语 相关问题 关于微信小游戏关系链的问题 微信关系链:Laya...
来源: Laya_社区 发布时间: 20190225
...AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA</span>"; Laya.stage.addChild(html);试下这个! 2017-06-15 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 answerHom 相关问题 两个对象new了一个相同的对象,...
来源: Laya_社区 发布时间: 20170615
...里面排行榜滑动无效,找不到原因。。跪求指导。。。 stage.height获取高度有bug吗 物体每帧y方向移动,超出屏幕高度消失,可还没有超出屏幕高度就提前消失了! as3.0下3D引擎中通过滑动控制camera的问题 问题状态 最新活动: 2019-0...
来源: Laya_社区 发布时间: 20190418
...据 tree.xml = new Laya.XML(treeData); tree.size(300, 300); tree.x = (Laya.stage.width - tree.width) / 2; tree.y = (Laya.stage.height - tree.height) / 2; tree.bgColor = "#d25454"; this.owner.addChild(tree); } } class Item extends Laya.Box { constructor() { super(); this.right = 0; this.left = 0; var...
来源: Laya3.0_文档 发布时间: 20251010
...rt default class VideoDom { htmlvideo:Laya.HtmlVideo; constructor() { Laya.stage.on(Laya.Event.CLICK,this,this.onClick); } onClick(){ this.initVideo(); } initVideo() { this.htmlvideo = new Laya.HtmlVideo(); this.htmlvideo.setSource("https://www.layaair.com/3.x/de ... ot%3B,1); this.htmlvideo.video.a...
来源: Laya_社区 发布时间: 20240305