大约有 2,538 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0082 秒)
Laya_社区(1915) Laya3.0_api(163) laya_api(112) Laya2.0_api(107) Laya2.0_文档(76) Laya_示例(68) Laya2.0_示例(51) Laya3.0_文档(46)
... var req = new laya.net.HttpRequest(); req.on(laya.events.Event.COMPLETE, this, cb_onSuccess); req.on(laya.events.Event.ERROR, this, cb_onFail); req.send(url); } // 下载jpg图片成功后,显示在舞台上,response为 bmp图片...
来源: Laya_社区 发布时间: 20170103
... _removeReference _setCPUMemory _setCreateURL _setGPUMemory _start destroy event getData gpuCompressFormat hasListener isCreateFromURL off offAll offAllCaller on once recreate clearPool createFromPool destroyUnusedResources recoverToPool Constructors constructor new RenderTextureCube(size: number, c...
来源: Laya3.0_api 发布时间: 20231102
...ference _setCPUMemory _setCreateURL _setGPUMemory _start clear destroy end event getData getIsReady gpuCompressFormat hasListener isCreateFromURL off offAll offAllCaller on once recycle restore start destroyUnusedResources popRT pushRT Constructors constructor new NativeRenderTexture2D(width: number...
来源: Laya3.0_api 发布时间: 20231115
...= this._objectInfo.templateInfo.height; this.addChild(this._body); this.on(Event.MOUSE_OVER, this, this.__onMouseOverHole); this.on(Event.MOUSE_OUT, this, this.__onMouseOutHole); } this.pos(this._objectInfo.templateInfo.x, this._objectInfo.templateInfo.y); } private __onMouseOverHole(event:Event):vo...
来源: Laya_社区 发布时间: 20180308
...l Classes | Index | Frames No Frames TextInputProperties | Methods | Events Packagelaya.uiClasspublic class TextInputInheritanceTextInput Label UIComponent Sprite Node EventDispatcher ObjectSubclasses TextArea TextInput 类用于创建显示对象以显示和输入文本。 Public Properties ...
来源: Laya2.0_api 发布时间: 20190513
...代码来添加保护:var data:*; data=Loader.getRes(_url); if (!data) { event(Event.ERROR,"file not find"); return; } //保护修改-----start------------------ var atlasData:Object = Loader.getAtlas(_atlasPath); if(!atlasData) { event(Event.ERROR,"file not find"); return; } //保护修改-----en...
来源: Laya_社区 发布时间: 20180908
... sp[j + i * 10].pos(i * 60, j * 60); sp[j + i * 10].on(Laya.Event.MOUSE_OVER, this, over); sp[j + i * 10].on(Laya.Event.MOUSE_OUT, this, out); } } function over(e) { e.target.graphics.drawRect(0, 0, 50, 50, "red"); } function out(e) { //正常大家可能...
来源: Laya_社区 发布时间: 20160715
... _removeReference _setCPUMemory _setCreateURL _setGPUMemory _start destroy event getData gpuCompressFormat hasListener isCreateFromURL off offAll offAllCaller on once recreate clearPool configRenderContextInstance createFromPool destroyUnusedResources recoverToPool Constructors constructor new Rende...
来源: Laya3.0_api 发布时间: 20231115
...rTarget _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy event getData gpuCompressFormat hasListener isCreateFromURL off offAll offAllCaller on once recreate clearPool configRenderContextInstance createFromPool destroyUnusedResources recoverToPool Constructors constructor new WebXR...
来源: Laya3.0_api 发布时间: 20231115
... 一点一滴 赞同来自: 按钮的皮肤用一态的,给按钮注册event.mousedown事件,然后在监听event.mouseup事件,在按钮触发event.mouseup事件后通过skin切换皮肤即可。 2018-05-12 0 0 分享 微博 QZONE 微信 hepengwei 赞同来自: 那就是用两个图喽,那...
来源: Laya_社区 发布时间: 20180512