大约有 3,291 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0095 秒)
...接口 function closeWebPage() { if (navigator.userAgent.indexOf("MSIE") > 0) { if (navigator.userAgent.indexOf("MSIE 6.0") > 0) { Laya.Browser.window.opener = null; Laya.Browser.window.close(); } else { Laya.Browser.window.open('', '_top'); Laya.Browser.window.top.close(); } } else if (naviga...
来源: Laya_社区 发布时间: 20180418
...能是IDE导出的资源包.layapkg后缀),操作路径为:工具 -> 从网络导入资源包,如图2-4所示。 (图2-4) 其它流程与前文一致。 2.3 本地导入资源包 如果资源包是存在IDE本地硬盘中,也可以直接从本地导入,操作路径为:工具 -&g...
来源: Laya3.0_文档 发布时间: 20251010
...se); setInterval(onDrawFrame, 15); }; xhr.onerror = function (e) { alert('>>>download ttf error :' + e); }; xhr.send(null); //这里以html5标准canvas接口为例 function onDrawFrame() { Laya.Browser.context.save(); Laya.Browser.context.font = "Arial"; Laya.Browser.context.fillStyle = "#...
来源: Laya_社区 发布时间: 20181106
...图片和音频资源,加载方式如下: var resArray: Array<any> = [ { url: "res/atlas/Images.atlas", type: Laya.Loader.ATLAS }, { url: "Images/BG_Gray.png", type: Laya.Loader.IMAGE }, { url: "Image...
来源: Laya_社区 发布时间: 20191030
...izidongzuo.skel", Laya.Handler.create(this, (templet: Laya.SpineTemplet) => { //模版复用 let y = 400; let unitWidth = Laya.stage.width / 16; for (let i = 0; i < 16; i++) { let person = templet.buildArmature(); Laya.stage.addChild(person); person.x = i * unitWidth; person.y = y; person.pl...
来源: Laya_社区 发布时间: 20220530
...__tests__/Functions.test.tsx/// <reference path="../src/Functions.ts" /> import fs = require('fs'); import vm = require('vm'); let path = __dirname + "/../bin/js/Functions.js"; let code = fs.readFileSync(path, {encoding:'utf8'}); vm.runInThisContext(code); describe('Functions', function() { it...
来源: Laya_社区 发布时间: 20181214
...ned at eval (eval at __proto.complete (AA.max.js:410), <anonymous>:5:68) at eval (eval at __proto.complete (AA.max.js:410), <anonymous>:24:3) at eval (<anonymous>) at AA.__proto.complete (AA.max.js:410) at EventHandler.__proto.runWith (AA.max.js:674) ...
来源: Laya_社区 发布时间: 20170726
...require (http://127.0.0.1:16026/game/__ ... :96033) at <anonymous>:1:1 at HTMLScriptElement.scriptLoaded (<anonymous>:18:21) at HTMLScriptElement.script.onload (<anonymous>:30:20) 2020-03-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...
来源: Laya_社区 发布时间: 20200326
...间中一点 OrientedBoundBox containsPoints(points:Vector.<Vector3>):int 该包围盒是否包含空间中多点 OrientedBoundBox containsSphere(sphere:BoundSphere, ignoreScale:Boolean = false):int 该包围盒是否包含空间中一包围球 OrientedBoundBox createByBoundBox(box:Bo...
来源: laya_api 发布时间: 20170929
...{ super (); this.infos = { rotation : 0 }; Laya.timer.frameLoop(1,this,()=> { this.infos.rotation += 1; if (this.infos.rotation >= 360) this.infos.rotation -= 360; this.IM_TURNTABLE.rotation = this.infos.rotation; this.VIEW_TURNTABLE.rotation = this.infos.rotation; }); } } 附件 : --> testMas...
来源: Laya_社区 发布时间: 20180720