大约有 520 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0087 秒)
Laya_社区(399) Laya2.0_文档(39) Laya3.0_api(32) Laya_示例(19) Laya3.0_文档(15) Laya2.0_示例(9) laya_api(5) Laya2.0_api(2)
...yaMonkey.lh", type: Laya3D.HIERARCHY, priority: 1}]; //Laya.loader.create(resource, Laya.Handler.create(this, this.onComplete)); Laya.loader.create("Export/LayaScene_JJF/Conventional/JJF.lh", Laya.Handler.create(this, this.onComplete)); } public onComplete():v...
来源: Laya_社区 发布时间: 20190531
...ite = new Sprite(); Laya.stage.addChild(gameWorld); engine = Matter.Engine.create({enableSleeping:true}); Matter.Engine.run(engine); var render = LayaRender.create({engine:engine,container:gameWorld,width:stageWidth,height:stageHeight,options:{wireframes:true,showAngleIndicator:true,showCollisions:t...
来源: Laya_社区 发布时间: 20171214
...src._targets上 /* this._submits[this._submits._length++] = SubmitCanvas.create(src, 0, null); _curSubmit = SubmitBase.RENDERBASE; //画出src._targets //drawTexture(src._targets.target.getTexture(), x, y, width, height, 0, 0); */ //应用并清空canvas中的指令。如果内容需要重画,Rend...
来源: Laya_社区 发布时间: 20210527
...yaMonkey/LayaMonkey.lh", clas: Laya.Sprite3D, priority: 1 } ]; Laya.loader.create(resource, Laya.Handler.create(this, onLoadFinish)); function onLoadFinish() { this.scene = Laya.stage.addChild(Laya.Scene.load("../../res/threeDimen/scene/ColliderScene/ColliderDemo.ls")); //初始化照相机 this.cam...
来源: Laya_示例 发布时间: 20251209
...andler.__proto.runWith (laya.core.js:1400) at LoaderManager.__proto._createOne (laya.core.js:14594) at LoaderManager.__proto._create (laya.core.js:14560) at LoaderManager.__proto.create (laya.core.js:14514) 附件 : --> test_bug.zip 2019-01-24 1 条评论 免费帖 --> 分享 微...
来源: Laya_社区 发布时间: 20190124
...ress.json", type: Laya.Loader.ATLAS }]; Laya.loader.load(arr, Laya.Handler.create(this, this.onProgress)); } onProgress() { this.Progress = new Progress(); Laya.stage.addChild(this.Progress); //加载资源进度并且监听 Laya.loader.load(this.arr, Laya.Handler.create(this, this.onAssetsLoaded), ...
来源: Laya_社区 发布时间: 20171217
...问题,解决了,供参考: Laya.loader.load(chapterBG, Laya.Handler.create(this, this.onBGLoaded, [chapterBG])/* , Laya.Handler.create(this, this.onBGLoadProgress) */); 第三个参数打开在某些条件下会出t._addReference is not a function 可能是加载进度回调的时候跑到纹...
来源: Laya_社区 发布时间: 20180423
...图,并显示当前场景 * @param conf 地图的配置信息 */ public create(conf:LevelConf, handler:Handler):void{ this._mLevelConf = conf; this._mCompleteHandler = handler; this._mViewPortX = 0; this._mViewPortY = 0; this._mTiledMap = new TiledMap(); this._mLoadState = ESceneLoadState.eLoadMap...
来源: Laya_社区 发布时间: 20180529
...submit? var tempSubmit:Submit = Submit.createShape(context, mIBBuffer, mVBBuffer, mEleNum, _indexStart, Value2D.create(ShaderDefines2D.SKINMESH, 0)); transform || (transform = Matrix.EMPTY); transform.t...
来源: Laya_社区 发布时间: 20190628
... 微博 QZONE 微信 hejianchun 赞同来自: 3D的用这个 Laya.loader.create()接口; 2018-03-23 0 5 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 joshua0526 相关问题 关于微信小游戏关系链的问题 【屏幕适配】在Laya...
来源: Laya_社区 发布时间: 20180323