大约有 2,397 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0092 秒)
Laya_社区(1676) Laya3.0_api(170) Laya2.0_api(133) Laya2.0_文档(116) laya_api(102) Laya_示例(72) Laya2.0_示例(66) Laya3.0_文档(62)
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
# 设置滤镜效果 > LayaAir引擎提供了颜色滤镜、发光(或阴影)滤镜、模糊滤镜三种效果。其中颜色滤镜支持Canvas与WebGL模式,而发光滤镜与模糊滤镜由于对性能的消耗较大,因此仅支持WebGL模式。 ## 1、设置颜色滤镜 ### 1.1 颜色滤...
来源: Laya2.0_文档 发布时间: 20210715
...屏,使得新添加的元素始终保持在最底部显示? matter中layasprite怎么改变图片大小? ui list 里面的元素不能点击两次 laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 请问如何获取鼠标在某个元素内 ...
来源: Laya_社区 发布时间: 20161214
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/particleShuriKen/module/GradientVelocity" GradientVelocity Class GradientVelocity GradientVelocity 类用于创建渐变速...
来源: Laya3.0_api 发布时间: 20231115
... | Frames No Frames GradientAngularVelocityProperties | Methods Packagelaya.d3.core.particleShuriKen.moduleClasspublic class GradientAngularVelocityInheritanceGradientAngularVelocity ObjectImplements laya.d3.core.IClone GradientRotation 类用于创建渐变角速度。 Public Properties Proper...
来源: Laya2.0_api 发布时间: 20190513
分享一下自己的屏幕适配方案 废话不多说 上代码 Laya.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....
来源: Laya_社区 发布时间: 20181123
...于按下状态”? 求问shader中的attribute变量怎么动态修改 Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 如何设置Sprite的宽高和点击区域? Animator 如何获取当前所有动画名称呢?或者所有的AnimationClip呢? 如何获取一个3D模型的...
来源: Laya_社区 发布时间: 20161124
...data; this.list = list; Laya.stage.addChild(list); this.hitArea = new Laya.HitArea(); this.hitArea.hit.drawRect(list.x, list.y -100,list.width, list.height, "#000000"); //限制鼠标点击区...
来源: Laya_社区 发布时间: 20210122
...2D的RPG游戏开发 可以加我的微信 一起研究 13890999 事件 Laya.stage.on(Laya.Event.KEY_UP,this,this.onkeyup); Laya.stage.on(Laya.Event.KEY_DOWN,this,this.onkeydown); Laya.timer.frameLoop(1,this,this.loop);事件响应 onkeyup(e){ for(let i:number = 0;i<this.keyList.length;i++){ i...
来源: Laya_社区 发布时间: 20171125
... | Frames No Frames GradientAngularVelocityProperties | Methods Packagelaya.d3.core.particleShuriKen.moduleClasspublic class GradientAngularVelocityInheritanceGradientAngularVelocity ObjectImplements laya.d3.core.IClone GradientRotation 类用于创建渐变角速度。 Public Properties Proper...
来源: laya_api 发布时间: 20170929