大约有 555 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0070 秒)
Laya_社区(472) Laya2.0_文档(36) Laya3.0_文档(20) Laya2.0_api(10) laya_api(8) Laya3.0_api(7) Laya2.0_示例(1) Laya_示例(1)
...操作。代码如下: ```JavaScript var xhr = new XMLHttpRequest(); xhr.open("get", "res/atlas/comp.png", true); xhr.responseType = "arraybuffer"; xhr.onload = function () { if (this.status == 200) { var blob = new Blob([this.response], { type: "image/png" }); var img = document.createElement("im...
来源: Laya2.0_文档 发布时间: 20210715
...操作。代码如下: ```javascript var xhr = new XMLHttpRequest(); xhr.open("get", "res/atlas/comp.png", true); xhr.responseType = "arraybuffer"; xhr.onload = function () { if (this.status == 200) { var blob = new Blob([this.response], { type: "image/png" }); var img = document.createElement("im...
来源: Laya2.0_文档 发布时间: 20210714
...操作。代码如下: ```javascript var xhr = new XMLHttpRequest(); xhr.open("get", "res/atlas/comp.png", true); xhr.responseType = "arraybuffer"; xhr.onload = function () { if (this.status == 200) { var blob = new Blob([this.response], { type: "image/png" }); var img = document.createElement("im...
来源: Laya2.0_文档 发布时间: 20210714
...cancel.on(Laya.Event.CLICK, this, () => { // 返回登陆页 Laya.Scene.open("Auth.scene"); }); // 遍历数组添加事件 this._arrInput.forEach((element, index) => { element.on(Laya.Event.FOCUS, this, this._onInputEvent, [element, this._arrLabel[index], Laya.Event.FOCUS]); element.on(Laya.E...
来源: Laya_社区 发布时间: 20200410
...理器管理。 任意对话框打开和关闭,都会出发管理类的open和close事件 可以通过UIConfig设置弹出框背景透明度,模式窗口点击边缘是否关闭,点击窗口是否切换层次等 通过设置对话框的zOrder属性,可以更改弹出的层次 Hierarchy Sprit...
来源: Laya3.0_api 发布时间: 20231115
...com.layabox.game/LayaCache/appCache/9ea141a6/18ac4122_dreams.mp3: avformat_open_input failed, err:Permission denied 07-16 13:28:21.322 1331-1331/com.layabox.game E/MediaPlayer: Should have subtitle controller already set --------- beginning of /dev/log/system 07-16 13:28:37.142 402-531...
来源: Laya_社区 发布时间: 20190716
...):Node 设置子节点的索引位置。 Node setItemState(index:int, isOpen:Boolean):void 设置指定项索引的项对象的打开状态。 Tree size(width:Number, height:Number):Sprite 设置宽高。相当于分别设置width和height属性。 因为返回值为Sprite对象本身,所以...
来源: laya_api 发布时间: 20170929
...ar xhr = new Laya.HttpRequest().http; // 设置请求的 URL 和方法 xhr.open('GET', 'https://ldc-1251285021.cos.ap-shanghai.myqcloud.com/layaair-3.2/win/LayaAirIDE-win-x64-3.2.1.exe', true); // 设置响应类型为 blob(可以是文件类型) xhr.responseType = 'blob'; // 监听下载过程...
来源: Laya3.0_文档 发布时间: 20251010
...):Node 设置子节点的索引位置。 Node setItemState(index:int, isOpen:Boolean):void 设置指定项索引的项对象的打开状态。 Tree setSelfBounds(bound:Rectangle):void 设置对象bounds大小,如果有设置,则不再通过getBounds计算,合理使用能提高性能。 Spr...
来源: Laya2.0_api 发布时间: 20190513
...6 18:35:09.396 1505-2484/? W/System.err: at java.io.FileInputStream.open0(Native Method) 2018-11-26 18:35:09.396 1505-2484/? W/System.err: at java.io.FileInputStream.open(FileInputStream.java:200) 2018-11-26 18:35:09.396 1505-2484/? W/System.err: at java.io.FileInputStream.<i...
来源: Laya_社区 发布时间: 20181126