大约有 1,796 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0051 秒)
Laya_社区(1183) Laya2.0_api(183) laya_api(162) Laya3.0_api(119) Laya2.0_文档(51) Laya_示例(41) Laya2.0_示例(35) Laya3.0_文档(22)
...riter3D(); var _color = new Laya.Vector4(1, 255, 0, 1); var _corners = new Array(); _corners[0] = new Laya.Vector3(0,0,0); _corners[1] = new Laya.Vector3(0,0,100); _corners[2] = new Laya.Vector3(0,100,0); _corners[3] = new Laya.Vector3(0,0,100); phasorSpriter3D.begin(Laya.WebGLContext.LINES, c...
来源: Laya_社区 发布时间: 20180426
...base64Data .split(",")[0] .split(":")[1] .split(";")[0]; var ia = new Uint8Array(byteString.length); for (var i = 0; i < byteString.length; i++) { ia[i] = byteString.charCodeAt(i); } return new Browser.window.Blob([ia], { type: mimeStringp }); };4.这时就有个新生成的URL,因为这个URL...
来源: Laya_社区 发布时间: 20181221
...dSprite); //初始化当前菜品下标 this.index = 0; //数据数组 foodArray = ; foodArray.push(new Food("菜品1", "1", 0)); foodArray.push(new Food("菜品2", "2", 1)); foodArray.push(new Food("菜品3", "3", 2)); foodArray.push(new Food("菜品4", "4", 3)); foodArray.push(new Food("菜品5", ...
来源: Laya_社区 发布时间: 20180407
...sourceTex:Laya.Texture = Laya.Loader.getRes(this.aUrl); let ret = new Uint8Array(_sourceTex.width * _sourceTex.height * 4); let tex2d:Laya.Texture2D = this.aImg.source["_bitmap"]; tex2d.setPixels(ret);//填充像素数据 //该操作在vulkan中会有杂点,directX opengl没有问题 tex2d.setSubPix...
来源: Laya_社区 发布时间: 20230328
...折线与画直线的参数区别是从第三位开始,第三位参数是Array类型的折线点集合,其中的“0,0”是折点A的起始坐标。“39,-50”是折点B的起始坐标。“78, 0”是折点C的起始坐标,“120, -50”是终点D的坐标。但是这里需要大家理...
来源: Laya2.0_文档 发布时间: 20210714
...折线与画直线的参数区别是从第三位开始,第三位参数是Array类型的折线点集合,其中的“0,0”是折点A的起始坐标。“39,-50”是折点B的起始坐标。“78, 0”是折点C的起始坐标,“120, -50”是终点D的坐标。但是这里需要大家理...
来源: Laya2.0_文档 发布时间: 20210714
...到class MapLayer extends Sprite这一行,在下面加上 _showGridList: Array<any>;即可 wu语 • 2018-08-07 19:51 1.7.19.1版本不行
来源: Laya_社区 发布时间: 20170627
...使用ComboBox显示,没办法直接展示出来 todo 待研究 items: ["Array", "Atlas", "Json"], visibleItemCount: 3, } } }, { name: "buttons", inspector: "Buttons", options: { buttons: [ { caption: "取消", event: "click_cancel_gen" }, { caption: "生成", event: "click_start_gen" } ] } } ] } ...
来源: Laya_社区 发布时间: 20250731
...de_modules\vscode-chrome-debug-core\out\src\chrome\variables.js:120:43) at Array.map (native) at Object.getObjectPreview (d:\Tools\LayaAirIDE_beta\resources\app\extensions\laya-debug\node_modules\vscode-chrome-debug-core\out\src\chrome\variables.js:120:14) at ChromeDebugAdapter.createObjectVariable ...
来源: Laya_社区 发布时间: 20180508
...ce/Resource.ts:124 内存大小。 Returns number deps get deps(): ReadonlyArray<Resource> Inherited from PrefabImpl.deps Defined in laya/resource/HierarchyResource.ts:31 Returns ReadonlyArray<Resource> destroyed get destroyed(): boolean Inherited from Resource.destroyed Defined in laya/...
来源: Laya3.0_api 发布时间: 20231115