大约有 27,816 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0613 秒)
Laya_社区(26260) Laya3.0_api(468) Laya2.0_文档(427) Laya2.0_api(191) laya_api(154) Laya3.0_文档(119) Laya_示例(117) Laya2.0_示例(80)
Laya.Geolocation使用报错 根据官方示例,使用Laya.Geolocation时会报错 代码如下: Laya.Geolocation.enableHighAccuracy = true; Laya.Geolocation.watchPosition(Laya.Handler.create(this, this.updatePosition), Laya.Handler.create(this, this.onError)); 报错如下: TypeError: Cannot...
来源: Laya_社区 发布时间: 20181217
导入laya.d3.js后,预加载spine动画然后再播放动画叠加出错了 麻烦问一下,spine做的动画,转换过以后,为什么变成图1了?spine里的效果是图2,,,, sk文件已经上传.之前怀疑是用了叠加模式,把叠加模式去掉后,依然是这样的..... laya2.1.0 ...
来源: Laya_社区 发布时间: 20190904
laya能不能给字体加阴影 2017-08-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 189*****192 赞同来自: 看工具 只可以设置 字体颜色 描边颜色 背景颜色 下划线颜色 2017-08-25 0 0 ...
来源: Laya_社区 发布时间: 20170825
LayaAir2.0 beta3 对骨骼动画应用发光滤镜的问题 LayaAir2.0 beta3 对骨骼动画应用发光滤镜发现内存一直上涨, 然后显示也有问题, 有办法解决下么 ------------------- 针对大大的回复 ,我贴下关键代码, 就想说明我只new了一个发...
来源: Laya_社区 发布时间: 20181127
htmlCanvas 像素级操作 function showSprite() { Laya.loader.load("../src/img/testImg.png",Laya.Handler.create(this,graphicsImg)); } function graphicsImg() { //临时sprite var img = new Laya.Sprite(); //img.graphics.drawTexture(Laya.loader.getRes(("../src/img/testImg.png"),0,0)); //获取图片...
来源: Laya_社区 发布时间: 20180413
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/maths/Vector2" Vector2 Class Vector2 Vector2 类用于创建二维向量。 Hierarchy Vector2 Implements IClone Index Constructors ...
来源: Laya3.0_api 发布时间: 20231115
背景音乐文件太大 播放延迟 Laya 背景音乐太大 预加载 Laya.loader.load 音乐 Laya.SoundManager.playMusic 播放 会出现延迟效果 Laya.loader.load(['remote/music/' + this.soundUrl + '.mp3'], new Laya.Handler(this, () => { ...
来源: Laya_社区 发布时间: 20201102
...source.height; this._width=width; this._height=height; this._setWarpMode(/*laya.webgl.WebGLContext.TEXTURE_WRAP_S*/0x2802,this._wrapModeU); this._setWarpMode(/*laya.webgl.WebGLContext.TEXTURE_WRAP_T*/0x2803,this._wrapModeV); this._setFilterMode(this._filterMode); var gl=LayaGL.instance; WebGLContext...
来源: Laya_社区 发布时间: 20190809
...e 执行后会有onAwake let t = new tt(); Laya.Scene.root.addChild(t); } } //激活启动类 new Main(); class tt extends Laya.Node{ constructor(){ super(); } public onAwake():void{ console.log(1111); ...
来源: Laya_社区 发布时间: 20190701
华为部分手机在解析laya.core.js报错 附件 : --> 2022-03-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Yan 赞同来自: 请问具体机型是什么? 2022-03-30 0 6 分享 微博 QZONE 微信...
来源: Laya_社区 发布时间: 20220330