大约有 1,977 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0085 秒)
Laya_社区(1486) Laya2.0_文档(137) Laya3.0_api(100) Laya2.0_api(77) laya_api(61) Laya3.0_文档(51) Laya_示例(34) Laya2.0_示例(31)
...改变或者根据某些条件变动(增减)动作节点。 感谢! 2018-07-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 callback 赞同来自: https://layaair.ldc.layabox.com/demo/?category=2d&group...
来源: Laya_社区 发布时间: 20180718
Native(android)下创建二维码并显示在页面上 Laya2.3.1,Native2.6.1亲测有效. Android创建二维码用到zxing库 ,在app的依赖项(dependencies)里添加: implementation 'com.google.zxing:core:3.3.0' // ts脚本,点击按钮创建二维码并显示 private onBtnC...
来源: Laya_社区 发布时间: 20200729
...d Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容...
来源: laya_api 发布时间: 20170929
... new Sprite(); let texture: Laya.Texture = Laya.loader.getRes(this.skin_img1); sprite.graphics.drawTexture(texture, 0, 0, texture.width, texture.height); sprite.size(texture.width, texture.height); let x: number = 300; let y: number = 100; let scaleRatio: number = 1.3; sprite.pos(x, y); // sprite.gr...
来源: Laya_社区 发布时间: 20170821
... * 背景类 * */ function Background(){ //图片的宽度 this.BG_WIDTH = 1600; //记录当前移动的值 this.moveX = 0; //定义背景1 this.bg1 = null; //定义背景2 this.bg2 = null; //草堆 this.grass = null; Background.__super.call(this); this.init(); } //Background 是一个显示对象 ...
来源: Laya_社区 发布时间: 20160722
...树结构数据。 xmlString = "<root><item label='box1'><abc label='child1'/><abc label='child2'/><abc label='child3'/><abc label='child4'/><abc label='child5'/></item><item label=...
来源: Laya3.0_api 发布时间: 20231115
...ght;//背景图的高 this.Img.x =0; this.Img.y =0; this.Img.url ="../game/1.png"; Laya.stage.addChild(this.Img); //获取图片初始x y轴坐标 this.ImgX=this.Img.x; this.ImgY =this.Img.y; this.layout(); Laya.stage.on(Laya.Event.RESIZE, this, this.layout); Laya.stage.on(Laya.Event.ADDED, this, th...
来源: Laya_社区 发布时间: 20181123
...ndex.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.Tree)。 ### 1.1 Tree 组件主要由两个部分组成: - 项单元格(可以是 Box 、页面 View、自定义页面); - 纵向滚动条 VScrollBar; ### 1.2 Tree 组件的单元格通常由四部分组成: - 一个单元格...
来源: Laya2.0_文档 发布时间: 20210715
新版的ide发布的问题,,, 1.x的时候,文件提取,只是把选择的文件提取到指定的文件夹, 2.x的提取本地包,是先把指定的文件清空,然后在拷贝过去,, 这个能不能像1.x版本那样,,不清空指定的文件,,直接拷贝复制就...
来源: Laya_社区 发布时间: 20190703
...Velocity type : int[read-only] 命周期角速度类型,0常量模式,1曲线模式,2随机双常量模式,3随机双曲线模式。 GradientAngularVelocityPublic Methods MethodDefined By GradientAngularVelocity() 创建一个 GradientAngularVelocity,不允许new,请使用静态创...
来源: Laya2.0_api 发布时间: 20190513