大约有 2,831 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0080 秒)
Laya_社区(1671) Laya3.0_api(668) Laya2.0_文档(133) Laya2.0_api(128) laya_api(122) Laya3.0_文档(82) Laya2.0_示例(16) Laya_示例(11)
...D url : String[read-only] 获取资源的URL地址。 Sprite3D VOLSPACETYPE : int[static] ShuriKenParticle3D VOLVELOCITYCONST : int[static] ShuriKenParticle3D VOLVELOCITYCONSTMAX : int[static] ShuriKenParticle3D VOLVELOCITYGRADIENTX : int[static] ShuriKenParticle3D VOLVELOCITYGRADIEN...
来源: Laya2.0_api 发布时间: 20190513
... 标 赞同来自: <!-- 物理引擎matter.js --> <script type="text/javascript" src="libs/Matter.js"></script> <script type="text/javascript" src="libs/LayaRender.js"></script> 添加这个两个库之后,导出到微信小游戏报错。 2018-05-0...
来源: Laya_社区 发布时间: 20180504
...D/useGLTF/CmShwoDemo.zip) #### 加载模型示例 1. 创建辅助对象 ```typescript // gltf 模型文件 gltfFile: any = { skeleton: { url: "res/skeleton.gltf", type: Loader.JSON }, face: { url: "res/face.gltf", type: Loader.JSON }, eyes: { url: "res/eyes.gltf", type: Loader.JSON }, ... } // 装...
来源: Laya2.0_文档 发布时间: 20210715
...域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/height。 Sprite mouseWheelEnable : Boolean 一个布尔值,指定是否滑轮滚动,默认值为true。ScrollBar mouseX : Number[read-only] 返回鼠标在此对象坐...
来源: laya_api 发布时间: 20170929
...true) xhr.setRequestHeader("Accept", "*/*"); xhr.setRequestHeader("Content-Type", "application/json"); 还是说用参考代码里的HttpRequest() var xhr = new Laya.HttpRequest(); xhr.http.setRequestHeader('Content-Type','application/x-www-form-urlencoded'); xhr.once(Laya.Event.COMPLETE, this, this...
来源: Laya_社区 发布时间: 20180704
...做了预加载了 var resArray = [ {url:"res/atlas/comp.json", type: Laya.Loader.ATLAS}, {url:"res/atlas/assets.json", type: Laya.Loader.ATLAS} ]; Laya.loader.load(resArray, Laya.Handler.create(null,LoadResComplete)); cuixueying • 2017-03-21 16:15 好的,谢谢你的建议...
来源: Laya_社区 发布时间: 20170317
...后,再加载ui.json! Laya.loader.load([ { url: config.layerUIJson, type: Laya.Loader.JSON } ], Handler.create(this, function () { this.gameScenes = new ui.layer.gameScenesUI(); this.addChildren(this.gameScenes); })); 但页面上却没有任何内容显示出来!求教!!我看了论坛...
来源: Laya_社区 发布时间: 20171012
...dler; Laya.loader.load([{ url: ['res/bitmapFont/test.fnt'], type: Laya.Loader.FONT }], Handler.create(this, () => { console.log('bitmapFont loaded'); this.onFontLoaded(); }), Handler.create(this, (progress) => {...
来源: Laya_社区 发布时间: 20190225
...designHeight: 758, canvasRotation: false, canvasDegree: 0, …} touchId: 0 type: "mouseout" 2018-10-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Luren_yi 赞同来自: 能不能传个能跑的代码,这个...
来源: Laya_社区 发布时间: 20181022
...// Laya 2.x及以下版本 Laya.loader.create([{ url: "res/3d/Player.zip", type: LayaZip.ZIP}])[/code][code]// Laya3.x版本 Laya.loader.load([{ url: "res/3d/Player.zip", type: LayaZip.ZIP}])[/code] 加载资源使用:[code]// Laya 2.x及以下版本 let player1 = Laya.loader.getRes("res/3d/Player/A...
来源: Laya_社区 发布时间: 20230316