大约有 2,550 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0224 秒)
Laya_社区(1924) Laya3.0_api(163) laya_api(112) Laya2.0_api(107) Laya2.0_文档(76) Laya_示例(68) Laya2.0_示例(51) Laya3.0_文档(49)
...uv不一致) 有方法可以解决,但比较麻烦, 1. 监听laya.events.Event.RECOVERED,监听纹理合并结束的消息,再创建custom sprite 2. 关闭纹理的自动图集合并 如果想看到正常的图片,可以修改一下代码 在你的sprite中,把uv设置修改为te...
来源: Laya_社区 发布时间: 20170904
... Classes | Index | Frames No Frames BaseCameraProperties | Methods | Events | Constants Packagelaya.d3.coreClasspublic class BaseCameraInheritanceBaseCamera Sprite3D Node EventDispatcher ObjectSubclasses Camera BaseCamera 类用于创建摄像机的父类。 Public Properties Hide Inherited ...
来源: Laya2.0_api 发布时间: 20190513
...tCreateURL _setGPUMemory addDefine clone cloneTo destroy effectiveProperty event getBool getBoolByIndex getBuffer getBufferByIndex getColor getColorByIndex getFloat getFloatByIndex getInt getIntByIndex getMatrix4x4 getMatrix4x4ByIndex getShaderData getShaderDataByIndex getShaderPropertyValue getText...
来源: Laya3.0_api 发布时间: 20231115
...nd.alone.version/lib ... 189:61) 05-18 09:55:36.987: I/0(27649): at EventHandler.__proto.runWith (http://stand.alone.version/libs/laya.core.js:726:27) 05-18 09:55:36.987: I/0(27649): at ResInfo.__proto.event (http://stand.alone.version/libs/laya.core.js:494:28) 05-18 09:55:36.987: I/0(...
来源: Laya_社区 发布时间: 20190518
...(_super){ function sg_sign(){ sg_sign.super(this); this.btn_wxsign.on(Laya.Event.CLICK,this,this.onWxSign); this.reset(); } Laya.class(sg_sign,"sg_sign",_super); var _proto = sg_sign.prototype; _proto.reset = function(){ Laya.SoundManager.playMusic('res/sound/sign_bgm.mp3',0); } _proto.onWxSign = fu...
来源: Laya_社区 发布时间: 20170725
...proto.onAssetsLoaded (http://www.xxx.com/LayaUISample.max.js:440) at EventHandler.__proto.run (http://www.xxx.com/LayaUISample.max.js:702) at ResInfo.__proto.event (http://www.xxx.com/LayaUISample.max.js:495) at LoaderManager.__proto._endLoad (http://www.xxx.com/LayaUISample.max.js...
来源: Laya_社区 发布时间: 20170522
...quest(); var url = "http://thirdqq.qlogo.cn/g%3Fb% ... 3B%3B xhr.once(Laya.Event.COMPLETE, this, this.completeHandler, [url, 1]); xhr.once(Laya.Event.ERROR, this, this.errorHandler); xhr.send(url, "", "get", "arraybuffer"); } } GameMain.prototype.completeHandler = function (URL, id, data) { // priva...
来源: Laya_社区 发布时间: 20180629
...ete; } this.aniUrl = aniUrl; this.templet = new Templet(); this.templet.on(Event.COMPLETE, this, this.parseComplete); // this.templet.on(Event.ERROR, this, this.onError); this.templet.loadAni(this.aniUrl); this.maskBox.graphics.drawRect(0,0,this.width,this.height,'#ffffff'); this.mask = this.maskBox...
来源: Laya_社区 发布时间: 20180824
...file:///E:/LayaWorkspace/javaScriptLaya/bin/libs/laya.core.js:12723:28) at EventHandler.__proto.runWith (file:///E:/LayaWorkspace/javaScriptLaya/bin/libs/laya.core.js:713:27) at ResInfo.__proto.event (file:///E:/LayaWorkspace/javaScriptLaya/bin/libs/laya.core.js:483:28) at LoaderManager.__proto._end...
来源: Laya_社区 发布时间: 20171226
...p:Sprite = new Sprite(); var xhr:HttpRequest = new HttpRequest(); xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(Event.ERROR,this,errorHandler); xhr.send("res/monkey2.png","","get","arraybuffer"); } private function completeHandler(data:Object):void { //加载完成返回的data是arraybuff...
来源: Laya_社区 发布时间: 20171011