大约有 2,261 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0072 秒)
Laya_社区(1668) Laya3.0_api(144) Laya2.0_文档(127) Laya2.0_api(103) laya_api(77) Laya3.0_文档(52) Laya_示例(48) Laya2.0_示例(42)
...类 ColorFilter位于laya.filters包中,通过指定矩阵(*排列成4 x 5 的矩阵*)改变各颜色通道。 点击 [laya.filters.ColorFilter ](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=Filter&class=laya.filters.ColorFilter) 查看API说明...
来源: Laya2.0_文档 发布时间: 20210715
...使用localToGlobal,无论sprite在什么位置,得到的数据都是x = 800,y = 600 DEMO截图见下图 工程为2.x;这个bug在1.x中也存在 附件 : --> testLab.rar 2018-11-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...
来源: Laya_社区 发布时间: 20181120
...super调用的时候,会被编译成错误代码. addFootPrintMagic(super.x,super.y, now); 被编译成addFootPrintMagic(laya.display.Sprite.prototype.x,_super.prototype.y,now); 下面是我写的测试代码,也被编译错了. trace(super.x,super.y); 被编译成了console.log(laya.display.Sprite....
来源: Laya_社区 发布时间: 20190311
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/Tree" Tree Class Tree Tree 控件使用户可以查看排列为可扩展树的层次结构数据。 example package { import lay...
来源: Laya3.0_api 发布时间: 20231115
....stage.scaleMode = Laya.Stage.SCALE_FULL nWidth:number; nHeight:number; ImgX:number; ImgY:number; Img:Laya.Image =new Laya.Image(); this.nWidth =this.bg.width; //背景图宽 this.nHeight =this.bg.height;//背景图的高 this.Img.x =0; this.Img.y =0; this.Img.url ="../game/1.png"; Laya.stage.addC...
来源: Laya_社区 发布时间: 20181123
...st(); list.itemRender = Item; list.repeatX = 3; list.repeatY = 3; list.x = 50; list.y = 100; list.spaceX = -50; list.spaceY = 30; let paihangbang = new Te...
来源: Laya_社区 发布时间: 20210122
...链接 提交 2 个回复 callback 赞同来自: https://layaair.ldc.layabox.com/demo/?category=2d&group=Tween&name=TimeLine function createTimerLine() { timeLine.addLabel("turnRight",0).to(target,{x:450, y:100, scaleX:0.5, scaleY:0.5},2000,null,0) .addLabel("turnDown",0).to(target,{x:450...
来源: Laya_社区 发布时间: 20180718
# textInput的单行输入&多行输入 文本输入框是游戏中经常会用到的一个UI组件,任何时候需要输入的时候都要使用到textInput这个类,我们先看一下TextInput这个类的API。 laya.ui.textInput中所有的API参数: ![1](img/1.png) 这里我们设置文本...
来源: Laya2.0_文档 发布时间: 20210714
...Tree 组件的脚本接口请参考 [Tree API](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.Tree)。 ### 1.1 Tree 组件主要由两个部分组成: - 项单元格(可以是 Box 、页面 View、自定义页面); - 纵向滚动...
来源: Laya2.0_文档 发布时间: 20210715
...ays. Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value 16777216, (2) compile with -s ALLOW_MEMORY_GROWTH=1 which allows increasing the size at runtime but prevents some optimizations, (3) set Module.TOTAL_MEMORY to a higher value before the ...
来源: Laya_社区 发布时间: 20191108