大约有 170 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0050 秒)
Laya2.0_api(66) laya_api(60) Laya_社区(20) Laya3.0_api(11) Laya3.0_文档(8) Laya2.0_文档(4) Laya2.0_示例(1)
...EI); this.img = new Image(); this.addChild(this.img); } public setImg(src: string): void { this.img.skin = src; } } } new laya.UI_List(); ```
来源: Laya2.0_文档 发布时间: 20210715
...wf",...] var b:Array = ; for (var i:int = 0; i < a.length; i++) { var s:String = a; var u:String = s.substr(0, s.length - 4);//去掉.swf后缀 var o1:Object = { url:u + "/sheet.js?v=" + config.version, type:ResLoader.TXT, size:1}; var o2:Object = { url:u + "/sheet.png?v=" + config.version, type:...
来源: Laya_社区 发布时间: 20151217
...invert invertTransformPoint recover rotate scale setTo setTranslate 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/Matri...
来源: Laya3.0_api 发布时间: 20231115
...Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Inherited from Node._url Defined in la...
来源: Laya3.0_api 发布时间: 20231115
...录 this.redHotStatus.splice(showRedHot, 1); // console.log("11111", JSON.stringify(this.redHotStatus)); } this.refreshList.refresh(); } onClickDel(index){ console.log("((((((((((((del------------"); //按索引删除 this.refreshList.array.splice(index, 1); //清除已纪录的打开状态 // this....
来源: Laya2.0_示例 发布时间: 20241118
...; var len = bytes.byteLength; for (var i = 0; i < len; i++) { binary += String.fromCharCode( bytes[ i ] ); } return window.btoa( binary ); } mainvar picdata=message.slice(8); //从Byte流切出来的图块 this.VideoImg.skin="data:image/png;base64,"+_arrayBufferToBase64(picdata); error 附件 : -...
来源: Laya_社区 发布时间: 20170803
...er.create 不会反馈失败状态跟描述不符合 var resource:Array<string> = ["scene/Conventional/scene2.ls"] Laya.loader.create(resource, Laya.Handler.create(this, (success:boolean) => { console.log("3d加载完毕:" + success); }),Laya.Handler.create(this, (progress: number) => { ...
来源: Laya_社区 发布时间: 20190626
...debugSubShader._owner; var deugDefines = ShaderPass._debugDefineString; //将defineDatas抓换成宏定义数组 Shader3D._getNamesByDefineData(compileDefine, deugDefines); if (!Config3D._config._multiLighting) { var index = deugDefines.indexO...
来源: Laya_社区 发布时间: 20200606
...有要求的,见以下代码片段(laya.net.Loader):var directory:String = (this._data.meta && this._data.meta.prefix) ? URL.basePath + this._data.meta.prefix : this._url.substring(0, this._url.lastIndexOf(".")) + "/"; var url:String = directory + name; loadedMap[url] = Texture.creat...
来源: Laya_社区 发布时间: 20160610
...s:345 ide配置文件使用 _reflectionsResolution _reflectionsResolution: string = "256" Defined in laya/d3/core/scene/Scene3D.ts:343 ide配置文件使用 _reflectionsSource _reflectionsSource: number = 0 Defined in laya/d3/core/scene/Scene3D.ts:341 ide配置文件使用 _scene _scene: Node Inheri...
来源: Laya3.0_api 发布时间: 20231115