大约有 520 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0095 秒)
Laya_社区(399) Laya2.0_文档(39) Laya3.0_api(32) Laya_示例(19) Laya3.0_文档(15) Laya2.0_示例(9) laya_api(5) Laya2.0_api(2)
...能 directionLight.shadowPCFType = 3; Laya.loader.create([ "res/plane.lh", "res/LayaMonkey.lh" ], Laya.Handler.create(this, onComplete)); var _quaternion = new Laya.Quaternion(); Laya.timer.frameLoop(1, n...
来源: Laya_社区 发布时间: 20180725
...55*****924:需要些时间的 155*****924 • 2019-05-16 15:16 Laya.loader.create("model/role/1/model.lh", Laya.Handler.create(this, this.OnComplete)); private OnComplete():void { let sprite:Laya.Sprite3D = Laya.loader.getRes("model/role/1/model.lh"); this._scene.addChild(sprite)...
来源: Laya_社区 发布时间: 20190516
....Blob([data], { type: "image/png" }); // var url = Laya.Browser.window.URL.createObjectURL(blob);//创建一个url对象; ////我们先用第一种方式显示图片到舞台; // var sp = new Laya.Sprite(); // var png = window.conch.convertBitmapToPng(data, 640, 1136); var cc = new laya.resource...
来源: Laya_社区 发布时间: 20180201
...oader,0,ltcWeight,1.0); var processHandler=Handler.create(null,Laya3D._onProcessChange,[loader,ltcWeight,6 / 7],false); Laya3D._innerFourthLevelLoaderManager.load(urls,Handler.create(null,Laya3D._onTextureCubeImagesLoaded,[loader,urls,processHandler]),...
来源: Laya_社区 发布时间: 20180508
... MiniFileMgr.downOtherFiles(url, Handler.create(this, this.onDownLoadCallBack, [url]), url); } } } MiniFileMgr.getFileInfo = function (fileUrl) { var fileNativePath ...
来源: Laya_社区 发布时间: 20180503
...请: 与内容相关的链接 提交 1 个回复 176*****233 赞同来自: create小写 2017-09-20 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 cqgcs 相关问题 脚本未定义 laya3d项目构建原生,启动后包ConchShader未定...
来源: Laya_社区 发布时间: 20170920
...r(this, onSelect, [cardList]); // 只能用new Handler? 不能用 Handler.create // Handler.create(this, onSelect, [cardList]); } cardList.itemRender = MyCardUI; ...
来源: Laya_社区 发布时间: 20170310
...er.load(["res/background.png", "res/m_background.png"], laya.utils.Handler.create(this, onLoaded), laya.utils.Handler.create(this, onLoading, null, false)); //加载进度 function onLoading(progress){ console.log("onLoading: " + progress); } //加载完毕 function onLoaded(){ console.log("onLoaded...
来源: Laya_社区 发布时间: 20160722
...;& !Loader.getRes(this._skin)) { ILaya.loader.load(this._skin, Handler.create(this, this._skinLoaded), null, Loader.IMAGE, 1); // TODO TS } else { this._skinLoaded(); } } } protected _skinLoaded(): void { this._bg.skin = this._skin; this._bar.skin = this._skin.replace(".png", "$bar.png"); this.c...
来源: Laya_社区 发布时间: 20200108
...tor.panel("Test") export class MyPanel extends IEditor.EditorPanel { async create() { this._panel = await gui.UIPackage.createWidget("editorResources/UI/MyWidget.widget"); let input: gui.TextInput = this._panel.getChild("TextInput").getChild("title"); input.on("changed", () => { console.log("改...
来源: Laya3.0_文档 发布时间: 20251010