大约有 3,448 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0099 秒)
...ar Sprite = Laya.Sprite; var MapLayer = Laya.MapLayer; var loadMap = (function (_super) { function loadMap() { loadMap.super(this); } Laya.class(loadMap,"loadMap",_super); var _proto = loadMap.prototype; _proto.init = function() { this.num = ""; this.map = new TiledMap(); } _proto.showMap = function...
来源: Laya_社区 发布时间: 20170605
...不到类的定义!这是为什么? 已上传 Demo 附件 关于近期iOS提交,因违反苹果3.1.1导致APP上架被拒的说明 laya2.0加载3d场景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined laya2的Scene默认是文件模式,不会生成场景类了...
来源: Laya_社区 发布时间: 20180326
...题原因 Android 环境下的 getImageData 兼容性问题。 在 PC 或 iOS 的浏览器/WebView 中,ctx.getImageData(sx, sy, sw, sh) 的 sw (宽度) 和 sh (高度) 参数如果包含小数(浮点数),浏览器通常会自动取整处理。 但是,在部分 Android 机型 或特定的 M...
来源: Laya_社区 发布时间: 20260119
图片遮罩大小跟设置不一致 (function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var Texture = Laya.Texture; var Browser = Laya.Browser; var Handler = Laya.Handler; var WebGL = Laya.WebGL; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.client...
来源: Laya_社区 发布时间: 20171220
MissingMethodException: Method not found: 'UnityEngine.LightmapData.get_lightmapColor'. MissingMethodException: Method not found: 'UnityEngine.LightmapData.get_lightmapColor'. LayaExport.DataManager.getSceneNode () LayaExport.DataManager.saveData () LayaExport.DataManager.getData () LayaAir3D.expor...
来源: Laya_社区 发布时间: 20180819
...以使用Capabilities类,如下 var hh:int = Capabilities.screenResolutionY;// 指定屏幕的最大垂直分辨率。 var ww:int = Capabilities.screenResolutionX;//指定屏幕的最大水平分辨率。 2015-11-02 0 4 分享 微博 QZONE 微信 haliluya 赞同来自: (1)Starling是一个...
来源: Laya_社区 发布时间: 20151102
...pData\Roaming\npm\node_modules\layaair2-cmd\layaair2-cmd.js' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15) at Function.Module._load (internal/modules/cjs/loader.js:562:25) at Function.Module.runMain (internal/modules/cjs/loader.js:831:12) at star...
来源: Laya_社区 发布时间: 20191231
...行编译、运行时报错查看以及代码调试。 Windows平台和IOS平台的安装部署方法一致,以下是详细内容。 1.下载所需软件及AS3相关的开发环境 http://www.layabox.com/html/product/ 下载所需版本LayaFlashIDE 2.准备工作 在开始使用Lay...
来源: Laya_社区 发布时间: 20151218
...er.load(this.skPath.replace(".atlas",".png"),Laya.Handler.create(this,function(bit){ var arr = Laya.Loader.getAtlas(this.skPath); arr.forEach(resUrl=>{ var tex = Laya.Loader.getRes(resUrl) as Laya...
来源: Laya_社区 发布时间: 20200317
...ogram); this.gl.bindBuffer(Laya.WebGLContext.ARRAY_BUFFER, this.vertexPositionBuffer); this.gl.enableVertexAttribArray(this.vertexPositionAttribute); this.gl.vertexAttribPointer( this.vertexPositionAttribute, this.vertexPositionBuffer.itemSize, Laya.WebGLContext.FLOAT, false, 0, 0 ); this.gl.bindBuf...
来源: Laya_社区 发布时间: 20180726