• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 2,271 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0071 秒)

31. 请教各位前辈们,AS的一些API好像layabox没有,求解决方法或者思路,比如 Point 的interpolate方法 具体问题内详 [ 96%]

...以没多少时间来熟悉,求万能的前辈们帮忙! 问题如下: 1、 p1.x = p2.x = Point.interpolate(value, p4, .5).x; 2、 target.graphics.beginBitmapFill(srcbmd, mx, true);    target.graphics.moveTo(p1.x, p1.y);    target.graphics.lineTo(p2.x, p2.y);    target.graphics.lineTo(p3...

来源: Laya_社区 发布时间: 20160627

32. 滤镜-颜色滤镜 [ 96%]

...项目(排列成 4 x 5 矩阵)组成的数组,红色 var redMat = [ 1, 0, 0, 0, 0, //R 0, 0, 0, 0, 0, //G 0, 0, 0, 0, 0, //B 0, 0, 0, 1, 0, //A ]; //创建一个颜色滤镜对象,红色 var redFilter = new ColorFilter(redMat); // 赤化猩猩 var redApe = createApe(); redApe.filters = [redFil...

来源: Laya_示例 发布时间: 20251130

33. [LayaAir3]Laya3.x发布华为小游戏屏幕尺寸错误 [ 96%]

...具转成快游戏,在手机上屏幕显示不完。 华为官方有laya1.x和2.x的适配方法,请问laya3.x有方案吗 2025-06-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 layabox 赞同来自: LayaAi...

来源: Laya_社区 发布时间: 20250624

34. 滤镜-颜色滤镜 [ 96%]

...项目(排列成 4 x 5 矩阵)组成的数组,红色 let redMat = [ 1, 0, 0, 0, 0, // R 0, 0, 0, 0, 0, // G 0, 0, 0, 0, 0, // B 0, 0, 0, 1, 0 // A ]; //创建一个颜色滤镜对象,红色 let redFilter = new ColorFilter(redMat); // 红色的猩猩 let redApe = this.createApe(); redApe.filter...

来源: Laya2.0_示例 发布时间: 20251130

35. ts加密md5码封装 [ 96%]

...e }, "exclude": [ "node_modules" ] } test: let str = Md5.Instance.get_md5("123456"); console.log(str) //len:32 //e10adc3949ba59abbe56e057f20f883emd5.ts class Md5 { private static _inst:Md5; public static get Instance():Md5 { return this._inst ||(this._inst = new Md5()); } public get_md5(str:string):...

来源: Laya_社区 发布时间: 20190321

36. Unity插件使用:LayaAir 2.x版本的引擎,适配的unity什么版本的? [ 96%]

...:LayaAir 2.x版本的引擎,适配的unity什么版本的? LayaAir 1.x版本的引擎,适配的是Unity 5.6.x。 请问LayaAir 2.x版本的引擎,适配的unity什么版本的? 2018-12-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...

来源: Laya_社区 发布时间: 20181220

37. laya.maths.Matrix_API3.0 [ 96%]

...slate skew toString transformPoint transformPointN translate create mul mul16 Constructors constructor new Matrix(a?: number, b?: number, c?: number, d?: number, tx?: number, ty?: number, nums?: number): Matrix Defined in laya/maths/Matrix.ts:30 使用指定参数创建新的 Matrix 对象。 Parame...

来源: Laya3.0_api 发布时间: 20231115

38. layaUI.max.all.js 这个文件怎么生成的? [ 96%]

...eGrid":"30,4,4,4","width":600,"height":400},"type":"Image"},{"props":{"x":41,"y":56,"skin":"comp/button.png","label":"点我赋值","width":150,"height":37,"sizeGrid":"4,4,4,4","var":"btn"},"type":"Button"},{"props":{"x":401,"y":56,"skin":"comp/clip_num.png","clipX":10,"var":"clip"},"type":"Clip"},{...

来源: Laya_社区 发布时间: 20170330

39. 绘制能力 · LayaAir3.3 · 引擎文档 · LAYABOX [ 95%]

绘制图形一、IDE中绘制图形二、绘制矩形与圆角矩形2.1 IDE绘制矩形2.2 代码绘制矩形2.3 用drawPath绘制矩形2.4 IDE绘制圆角矩形2.5 代码绘制圆角矩形2.6 用drawPath绘制圆角矩形三、绘制圆形、椭圆与扇形3.1 IDE绘制圆形3.2 代码绘制圆...

来源: Laya3.0_文档 发布时间: 20251010

40. 关联系统 · LayaAir3.3 · 引擎文档 · LAYABOX [ 95%]

...式更丰富。 一、编辑器操作 设置关联的属性位置如下图1-1所示: (图1-1) 在第一个输入框中选择目标节点,点击第二个输入框,显示以下界面。在这个界面选择或取消对目标节点的关联,如下图1-2所示: (图1-2) 关联关系的...

来源: Laya3.0_文档 发布时间: 20251010