大约有 2,397 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0101 秒)
Laya_社区(1676) Laya3.0_api(170) Laya2.0_api(133) Laya2.0_文档(116) laya_api(102) Laya_示例(72) Laya2.0_示例(66) Laya3.0_文档(62)
... 2018-04-03 0 0 分享 微博 QZONE 微信 qqyemingqq 赞同来自: var LayaAir3D = (function () { var currentCube; var moveTimer; var currentTexture = 0; var prevBox; var boxList = []; var initBoxW = 1; var initBoxH = 1; var initBoxL = 0.5 function myCube(x, y, z, textureUrl, posX, posY, posZ) {...
来源: Laya_社区 发布时间: 20180402
...角矩形的工具,直接用,不用自己去算 package utils { import laya.display.cmd.DrawPathCmd; import laya.display.Graphics; import laya.display.Sprite; /** * ... * @author Kun */ public class GraphicsUtil { /** * 绘画圆角矩形 * @param graghics Graghics对象 * @param x 开始绘制...
来源: Laya_社区 发布时间: 20190117
...又来了 (如果描述的不清楚的朋友可以到私信我 或者到layaair群里咨询~~ ) 第二节教程来了 这一节其实和 打飞机的 背景地图实现方式差不多 此次讲解的主要是类之间的引用和循环横向背景的实现方法~~~ 没看第一遍的朋友 ...
来源: Laya_社区 发布时间: 20160722
...数,但是之前的缓动画不会执行 this.bir.x = 0; this.bir.y = 0; Laya.Tween.to(this.bir, { x: 200, y: 200 }, 2000, () => { }, Laya.Handler.create(this, this.change)); 这里面会直接过两秒执行this.change,而前面x:0->200 y:0->200不会执行 是什么原因?...
来源: Laya_社区 发布时间: 20170809
drawToTexture 绘制函数不工作呢 let top_rect: Laya.Sprite = new Laya.Sprite(); top_rect.x = 0; top_rect.y = 0; top_rect.size(100, 100); top_rect.graphics.drawRect(0, 0, 100, 100, "#0000FF", "#000000", 1); ...
来源: Laya_社区 发布时间: 20190730
Laya.timer.frameLoop(1, this, this.aaa);对象移动会出现颤抖现象 this.loadHp(); Laya.timer.frameLoop(1, this, this.aaa); private bb:number = 6; private playerHB:logic.UI.role.PlayerHealthBar; private loadHp():void { this.playerHB = new logic.UI.role.PlayerHealthBar(); this.playerHB.pivotX ...
来源: Laya_社区 发布时间: 20180102
Layabox是免费开源的HTML5引擎解决方案,产品家族中包括LayaAir引擎、LayaFlash引擎、LayaOpen开放平台、LayaMarket SDK、LayaStore嵌入式游戏商店、LayaPlayer运行器。核心引擎LayaAir性能全球领先,支持2D、3D、VR开发,支持AS3、JavaScript、TypeScr...
来源: Laya_示例 发布时间: 20260303
...制的图像位置偏移 let sprite: Sprite = 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:...
来源: Laya_社区 发布时间: 20170821
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/filters/ColorFilter" ColorFilter Class ColorFilter ColorFilter 是颜色滤镜。使用 ColorFilter 类可以将 4 x 5 矩阵转换...
来源: Laya3.0_api 发布时间: 20231115
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/ColorPicker" ColorPicker Class ColorPicker ColorPicker 组件将显示包含多个颜色样本的列表,用户可以从中选...
来源: Laya3.0_api 发布时间: 20231115