大约有 1,869 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0062 秒)
Laya_社区(616) Laya3.0_api(529) Laya2.0_api(242) laya_api(178) Laya2.0_文档(88) Laya_示例(78) Laya3.0_文档(70) Laya2.0_示例(68)
...te(): void { // 组装tree的数据 var treeData: string = ""; for (var i: number = 0; i "; for (var j: number = 0; j "; } treeData += ""; } treeData += ""; // 解析tree的数据 var xml:any = Utils.parseXMLFromString(treeData); var tree: Tree = new Tree(); tree.scrollBarSkin = "res/ui/vscroll.png"...
来源: Laya2.0_示例 发布时间: 20260106
...] Options: -V, --version output the version number -c --clear clear will delete old ui code file. -a --atlas generate atlas -d --code generate ui code files -m --mode <mode...
来源: Laya_社区 发布时间: 20180104
...加缓动的函数 private function addTime(timeLine:TimeLine,sp:Sprite,yy:Number):void { timeLine=new TimeLine(); timeLine.to(sp, {y: yy}, 3000, Ease.linearIn); timeLine.once(Event.COMPLETE,this, complete,[sp,timeLine]); timeLine.play(0,false); } //清理缓动的函数 private function clearTime(t...
来源: Laya_社区 发布时间: 20161207
...or = "#232628"; this.createApes(); } private createApes(): void { var gap: number = 300; this.sp1 = new Sprite(); this.sp1.loadImage("../../res/apes/monkey2.png", 0, 0); this.sp1.pos((Laya.stage.width - gap) / 2, Laya.stage.height / 2); //设置轴心点为中心 this.sp1.pivot(55, 72); Laya.stage.a...
来源: Laya_示例 发布时间: 20260106
...eatsno'], msg['from_client_name'], msg['content']); } private AddChat(seat:number, name:string, txt:string) { let paopao = new ui.langren.room.SayBoardUI(); paopao.x = 10; paopao.lbSayName.text = name; let div:Laya.HTMLDivElement = new Laya.HTMLDivElement(); div.style.lineHeight = 36; div.style.font...
来源: Laya_社区 发布时间: 20170911
...BaseMaterial> 获取浅拷贝材质列表。 BaseRender sortingFudge : Number排序矫正值。BaseRenderPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By SkinnedMeshRenderer(owner:RenderableSprite3D) 创建一个 SkinnedMeshRender 实例。 SkinnedM...
来源: Laya2.0_api 发布时间: 20190513
...建Image组件,作为Panel的子节点 let img: Laya.Image; for (var i: number = 0; i < 4; i++) { // 创建4个Image,水平排列 img = new Laya.Image("atlas/comp/image.png"); img.x = i * 512; panel.addChild(img); } } } 效果如下动图所示: (动图2-1) Copyright ©Layabox 2025 all ...
来源: Laya3.0_文档 发布时间: 20251010
...wManager.getInstance().ShowView(contant.loginId); } public SwictMap(index: number):void { var mapName="res/img/map/"+index; this.mapImg.loadImage(mapName); } } 附件 : --> 2017-11-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...
来源: Laya_社区 发布时间: 20171124
...or = "#232628"; this.createApes(); } private createApes(): void { var gap: number = 300; this.sp1 = new Sprite(); this.sp1.loadImage("res/apes/monkey2.png", 0, 0); this.sp1.pos((Laya.stage.width - gap) / 2, Laya.stage.height / 2); //设置轴心点为中心 this.sp1.pivot(55, 72); Laya.stage.addChil...
来源: Laya2.0_示例 发布时间: 20260106
...以用,基础类型Numer,String,Object可以用,Int估计也是用Number凑合着用,JS有的那就可以用,JS没有的就必须用Laya引擎提供的库的API才行是吗? 希望能得到解答,万分感谢!! 2017-05-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...
来源: Laya_社区 发布时间: 20170510