大约有 89 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0034 秒)
...public function main():void { _guideImage = new Image(); _guideImage.source = Loader.getRes("source/png/ui/1/guideImg.png"); tweenGuide1(_guideImage ); Tween.clearAll(_guideImage); _guideImage.destroy(true); _guideImage.dispose(); _guideImage = null; } public function...
来源: Laya_社区 发布时间: 20161216
...aAir 新建项目面板 新建项目sunDemo file:///blog/asroads.github.io/source/_posts/game/LayaAir2-0-LayaBox-%E4%B9%8B%E5%B0%8F%E6%B8%B8%E6%88%8F%E5%BC%80%E6%94%BE%E5%9F%9F%E5%BC%80%E5%8F%91/image-20190307195813680.png?lastModify=1551962708 官方已经给我们搭建好了 基本的结构和框...
来源: Laya_社区 发布时间: 20190307
...lImg){ if(this.testScrollImg._bitmap && this.testScrollImg._bitmap.source){ this.testScrollImg._bitmap.source.repeat = true; var ss:any = this.testScrollImg._bitmap.source.uv; var uv:any[] = []; uv[0] = ss[0] + 2/this.testScrollImg.width; uv[1] = ss[1]; uv[2] = ss[2] + 2/this.testScrollImg.w...
来源: Laya_社区 发布时间: 20180321
... return; }; var width=img.sourceWidth; var height=img.sourceHeight / this._stateNum; img.$_GID || (img.$_GID=Utils.getGID()); var key=img.$_GID+"-"+this._stateNum; var clips=WeakObject.I....
来源: Laya_社区 发布时间: 20191122
...码给你 loadBytes(res.bin, () => { res.texture = Texture.create(res.source, 0, 0, res.texWidth, res.texHeight); // res.source.dispose();//提交显卡是异步过程 dispose 会导致texture无效 // setTimeout(() => { // res.source.dispose(); // }, 1000); // res.source = null;//texture 也...
来源: Laya_社区 发布时间: 20170502
...; function onImgListRender(box: Laya.Box) { let model = box.dataSource; let panel = box.getChildByName('panel') as Laya.Panel; let img = panel.getChildByName('img') as Laya.Image; img.skin = model; let reset = function () { let source = im...
来源: Laya_社区 发布时间: 20180514
..."res/textures/marry_frame_005.png"; url= Laya.URL.formatURL(url); var imageSource=new Laya.Browser.window.Image(); var thisObj = this; var onload=function (){ var tex=new Laya.Texture2D(imageSource.width,imageSource.height,1,false,true); tex.wrapModeU=1; tex.wrapModeV=1; tex.loadImageSource(imageSou...
来源: Laya_社区 发布时间: 20190923
...,height,alpha,skin都正常,资源所在图集也存在,不过小图的source的_referecentCount==0,_texture==null。不知是不是这个原因引起? 如附件图,black.png是用到的小图,所在图集为comui.atlas 附件 : --> 2022-07-22 添加评论 免费帖 --> 分享 ...
来源: Laya_社区 发布时间: 20220722
TextureCube. setSixSideImageSources () setSixSideImageSources()method public function setSixSideImageSources(source:Array, premultiplyAlpha:Boolean = false):void 通过六张图片源填充纹理。 source:Array 里面传入的是什么?图片的路径吗?我传入了6个贴图的路...
来源: Laya_社区 发布时间: 20190731
Animation怎么使用.atlas文件,直接拖到source上不行 提示接收多选图片和.json和.ani 2017-06-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: 不太明白你的操作...
来源: Laya_社区 发布时间: 20170620