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

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

431. httpRequest send返回Request failed Status:0 [ 53%]

.........解密逻辑开始处理数据 var byte = new Laya.Byte(data); //Byte数组接收arraybuffer // byte.writeArrayBuffer(data,4);//从第四个字节开始读取数据 var blob = new Laya.Browser.window.Blob([byte.buffer], { type: "image/png" }); var url = Laya.Browser.window.URL.createObjectURL(...

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

432. [LayaAir3]Laya.Scene.Open的param参数没有传入runtime脚本的onOpen [ 53%]

... — 绘制次数和坐标,怎么写啊, Dispather.event参数传的是数组,为什么收到的参数却是个int类型? drawToRenderTexture2D缺少isDrawRenderRect参数 Runtime照着视频做运行不了,求解 问题状态 最新活动: 2025-06-27 18:08 浏览: 4670 关注: 5 人 远...

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

433. 设置滤镜(TypeScript-LayaAir基础篇(TS)-位图) [ 53%]

...akeRedApe(): void { //由 20 个项目(排列成 4 x 5 矩阵)组成的数组,红色 var redMat: Array = [ 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: ColorFilter = new ColorFilter(redMat); // 赤化猩...

来源: Laya2.0_文档 发布时间: 20210715

434. FontChip不能显示 [ 53%]

...        protected var _valueArr:String;         /**文字内容数组**/         protected var _indexMap:Object;         /**位图字体内容**/         protected var _sheet:String;         /**@private */         protected var _direction:String = "horizonta...

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

435. laya.display.cmd.DrawTrianglesCmd_API3.0 [ 53%]

...ces: Float32Array Defined in laya/display/cmd/DrawTrianglesCmd.ts:30 顶点数组。 x x: number Defined in laya/display/cmd/DrawTrianglesCmd.ts:22 X轴偏移量。 y y: number Defined in laya/display/cmd/DrawTrianglesCmd.ts:26 Y轴偏移量。 Static ID ID: string = "DrawTriangles" Defined in laya/...

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

436. laya.ui.DialogManager [ 53%]

...ring — 需要关闭的组名称 ReturnsArray — 需要关闭的对话框数组 doClose()method  public function doClose(dialog:Dialog, type:String = null):void 执行关闭对话框。 Parameters dialog:Dialog — 需要关闭的对象框 Dialog 实例。  type:String (default = null) — 关...

来源: laya_api 发布时间: 20170929

437. 如何获取animation的node节点? [ 53%]

....frames) { let skill = new Laya.Sprite(); // 创建一个用于存放位图数组的临时精灵 let texture = Laya.loader.getRes(options.srcPath+options.srcName+".png"); // 读取图集生成大切片 let textureIns = Laya.Texture.create(texture, aniProps.res[aniProps.mc[options.srcName].frames[i]....

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

438. 关于2D粒子的渲染问题 [ 52%]

...rray, velocity:Float32Array):void {   中,把所有的参数放到一个数组中:        var particleData:ParticleData = ParticleData.Create(settings, position, velocity, _currentTime);       var startIndex:int = _firstFreeElement * _floatCountPerVertex * 4;     for (var i:int = 0; i ...

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

439. laya.maths.Matrix_API3.0 [ 52%]

...trix.ts:295 将指定的两个矩阵相乘,结果赋值给指定的输出数组,长度为16。 Parameters m1: Matrix 矩阵一。 m2: Matrix 矩阵二。 out: any[] 输出对象Array。 Returns any[] 结果输出对象 out。 Globals "laya/maths/Matrix" Matrix constructor a b c d tx ty TEMP clon...

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

440. laya.ui.DialogManager [ 52%]

...ring — 需要关闭的组名称 ReturnsArray — 需要关闭的对话框数组 doClose()method  public function doClose(dialog:Dialog):void 执行关闭对话框。 Parameters dialog:Dialog — 需要关闭的对象框 Dialog 实例。 doOpen()method  public function doOpen(dialog:Dialog):void ...

来源: Laya2.0_api 发布时间: 20190513