大约有 422 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0038 秒)
Laya_社区(275) Laya3.0_api(94) Laya2.0_文档(19) laya_api(8) Laya3.0_文档(8) Laya2.0_api(8) Laya2.0_示例(6) Laya_示例(4)
... /** * 测试预加载 * */ private function preSwfAssetsTest():void { var path:String = "assets/layaAsset.swf"; var path1:String = "assets/layaAsset1.swf"; IFlash.preSwfAssets([path,path1]);//这里开始调用预加载 var loader:Loader = new Loader(); loader.contentLoaderInfo.addEventListener (Ev...
来源: Laya_社区 发布时间: 20151123
...tarMask Index Constructors constructor Methods clone cloneTo getAllTranfromPath getTransformActive setTransformActive Constructors constructor new AvatarMask(data?: any): AvatarMask Defined in laya/d3/component/Animator/AvatarMask.ts:6 创建一个AvatarMask实例 Parameters Optional data: any Retur...
来源: Laya3.0_api 发布时间: 20231115
...s = ["替换Laya前缀"] } const fs = require("fs"); function readFile(path) { if (fs.existsSync(path)) { return fs.readFileSync(path, "utf-8"); } return null; } gulp.task('替换Laya前缀', function(){ var layaMaxUI_Path = workSpaceDir +...
来源: Laya_社区 发布时间: 20191017
...active' of undefined sp.acctive=false 原代码的位置写的是 var path="map/mapitem/"+mdai.mapName+"1.lh"; if(this.PRINT_LOG){ console.log("准备读取区域"+curIndex+" 的 路径: "+path+"地图"); } Sprite3D.load(pa...
来源: Laya_社区 发布时间: 20191011
...d All Inherited Externals Only exported Menu Globals "laya/display/cmd/DrawPathCmd" DrawPathCmd Class DrawPathCmd 根据路径绘制矢量图形 Hierarchy DrawPathCmd Index Properties brush paths pen x y ID Methods getBoundPoints recover Properties brush brush: any Defined in laya/display/cmd/DrawPa...
来源: Laya3.0_api 发布时间: 20231115
绘制梯形 出错问题~ var path:Array=[["moveTo", 0, 0], //画笔移到A点 ["lineTo", lineW, 0], //画到B点 ["lineTo", dingBianW + (lineW - dingBianW) / 2, -_totalH / Math.sin((90 - Math.abs(skewXNum)) / 180 * Math.PI)], //再画到C点 ["lineTo", (lineW - dingBianW) / 2, -_totalH / Math.s...
来源: Laya_社区 发布时间: 20180717
...显示微信子域的程序,但是报错Cannot read property 'USER_DATA_PATH' of undefined Uncaught TypeError: Cannot read property 'USER_DATA_PATH' of undefined at Function.MiniFileMgr.setNativeFileDir (laya.wxmini.js:615) at Function.MiniAdpter.init (laya.wxmini.js:33) at Function.MiniAdpter.ena...
来源: Laya_社区 发布时间: 20181026
...eters value: boolean Returns void Methods Static begainSample begainSample(path: string): void Defined in laya/utils/Performance.ts:31 Parameters path: string Returns void Static endSample endSample(path: string): number Defined in laya/utils/Performance.ts:36 Parameters path: string Returns number ...
来源: Laya3.0_api 发布时间: 20231102
...源的时候,会自动调用formatURL函数格式化URL路径 通过basePath属性可以设置网络基础路径 通过设置customFormat函数,可以自定义URL格式化的方式 Hierarchy URL Index Constructors constructor Properties basePath basePaths rootPath version Accessors path url Meth...
来源: Laya3.0_api 发布时间: 20231115
...air-cmd-publish第165行: if (!isAsProj) { var result = UglifyJS.minify([path.join(workspace, "release", "layaweb", versionName, "main.min.js")]); fs.writeFileSync(path.join(workspace, "release", "layaweb", versionName, "main.min.js"), re...
来源: Laya_社区 发布时间: 20171222