大约有 210 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0056 秒)
...览器版本支持Geolocation。显示Supported表示支持。 ![1](img/1.png) Geolocation返回的GeolocationInfo,包含以下信息: - `latitude` —— 维度(度)。 - `longitude` —— 经度(度)。 - `altitude` —— 相对于海平面的海拔高度(米)。如果设备...
来源: Laya2.0_文档 发布时间: 20210714
...h.round(Math.random() * this.intMaxLove); let imgSrc = "comp/heart"+iNum+".png"; let imgLove = new Image(imgSrc); console.log("imgLove ==="+imgLove); console.log("imgSrc === "+ imgSrc); //imgLove.pos(iRows*this._x + 120 , iColumns*this._y + 320); this.imageBg.addChild(imgLove); } }TypeError: node._s...
来源: Laya_社区 发布时间: 20190625
...est[key]||key; fileversion = fileversion.replace(".png",".ktx").replace(".jpg",".ktx"); Laya.ResourceVersion.manifest[key] = fileversion; } var _this = this; let getext = Laya.Utils.getFileE...
来源: Laya_社区 发布时间: 20221013
...罩 用法: var texture: Laya.Texture = Laya.Loader.getRes("progress.png"); this.spe = new coolDownSprite(); this.spe.init(texture); //this.spe.initWithoutTexture(128, 128); this.spe.pos(300, 350); this.spe.setProgress(this.progress); Laya.stage.addChild(this.spe); ----------------------源码-...
来源: Laya_社区 发布时间: 20170606
...换格式的原始纹理类型 Non-PNG|JPG 非png| jpg 格式贴图,现在支持 tga,psd,gif,tif,bmp,exr格式 PNG 原始场景中所用png格式资源 ...
来源: Laya_社区 发布时间: 20170428
...仁毅 赞同来自: let img = new Laya.Image(); img.skin = "image.png"; img.destroy(); 我这样去使用并没有出现报错,虽然可能不是你的使用情况,但是我这段代码是符合你的简单问题描述的。所以最好你自己提供一个demo。 还有关于希望...
来源: Laya_社区 发布时间: 20200909
...模型网格),才可以实现有范围的物理碰撞。 ![img](img/2.png) (图2) 图2是胶囊形状角色碰撞器的编辑预览效果。 ##### 2.1.2 触发器 LayaAir 3D物理的触发器相当于2D物理里的传感器。 触发器是碰撞器的一个属性,任何碰撞器的触发...
来源: Laya2.0_文档 发布时间: 20210715
...的单个资源地址或资源信息数组。比如:简单数组:["a.png","b.png"];复杂数组[{url:"a.png",type:Loader.IMAGE,size:100,priority:1},{url:"b.json",type:Loader.JSON,size:50,priority:1}]。 Default value complete: Handler | null = null 加载结束回调。根据url类型不同分...
来源: Laya3.0_api 发布时间: 20231102
...1]:file:///data/data/com.ReleaseTest.Four/LayaCache/localstorage/logo/logo.png 06-20 19:10:19.406 5371-5448/com.ReleaseTest.Four W/LayaBox: download image file error! file:////data/data/com.ReleaseTest.Four//LayaCache//localstorage/logo/logo.png 06-20 19:10:19.941 5371-5400/com.ReleaseTest.Four E/MA...
来源: Laya_社区 发布时间: 20170620
...f";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vscroll.png", "resource/ui/vscroll$bar.png", "resource/ui/vscroll$down.png", "resource/ui/vscroll$up.png", "resource/ui/clip_selectBox.png", "resource/ui/clip_tree_folder.png", "resource/ui/clip_tree_arrow.png"], Handler.create(this,...
来源: Laya3.0_api 发布时间: 20231115