大约有 584 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0062 秒)
Laya_社区(357) Laya2.0_文档(64) Laya3.0_api(54) Laya_示例(32) Laya3.0_文档(22) Laya2.0_api(22) laya_api(20) Laya2.0_示例(13)
请教文档中Graphic.drawTextures方法第二个参数的具体参数格式 Graphic drawTextures () method public function drawTextures(tex:Texture, pos:Array):void批量绘制同样纹理。 Parameters tex:Texture — 纹理。 pos:Array — 绘制次数和坐标。 请教第二个...
来源: Laya_社区 发布时间: 20170405
...片异常 Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 Texture图片能否进行翻转? matter中layasprite怎么改变图片大小? Animator 如何获取当前所有动画名称呢?或者所有的AnimationClip呢? IDE1.7.8 json图集加载问题 请问如何获取鼠标...
来源: Laya_社区 发布时间: 20170118
...text': No function was found that matched the signature provided. at Texture2D.__proto._createWebGlTexture (laya.d3.js:33519) at Texture2D.__proto.recreateResource (laya.d3.js:33562) at Texture2D.__proto.activeResource (laya.core.js:13234) at Texture2D.<anonymous> (laya...
来源: Laya_社区 发布时间: 20171120
...text': No function was found that matched the signature provided. at Texture2D.__proto._createWebGlTexture (laya.d3.js:37225) at Texture2D.__proto.recreateResource (laya.d3.js:37271) at Texture2D.__proto.onAsynLoaded (laya.d3.js:37329) at ResInfo.onLoaded (laya.core.js:13189)...
来源: Laya_社区 发布时间: 20190227
...er.create(this, this.onLoading, null, false)); }, onAssetloaded : function(texture){ this.tl = new Laya.Animation(); //加载动画文件 this.tl.loadAnimation("imgdebris/naruto2.ani"); //添加到舞台 var apesCtn = new Laya.Sprite(); Laya.stage.addChild(apesCtn); var _this = this; this.tl.on(this...
来源: Laya_社区 发布时间: 20190117
...但是可以通过调用 reCache 方法手动刷新。 注意: 1.Sprite texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.time...
来源: laya_api 发布时间: 20170929
...text': No function was found that matched the signature provided. at Texture2D.__proto._createWebGlTexture (laya.d3.js:37225) at Texture2D.__proto.recreateResource (laya.d3.js:37271) at Texture2D.__proto.onAsynLoaded (laya.d3.js:37329) at ResInfo.onLoaded (laya.core.js:13189)...
来源: Laya_社区 发布时间: 20190323
...-10, 0, 0), true, false); renderTargetCamera.renderTarget = new Laya.RenderTexture(2048, 2048); renderTargetCamera.renderingOrder = -1; renderTargetCamera.addComponent(CameraMoveScript); var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.7, 0.6,...
来源: Laya_示例 发布时间: 20260303
...运行时 找不到类的定义!这是为什么? 已上传 Demo 附件 Texture图片能否进行翻转? matter中layasprite怎么改变图片大小? 成都雨墨游戏 求 laya 程序开发人员 关于Laya实现Matter.js官方案例凹多边形的问题 ios14系统下 blendMode='lighter' ...
来源: Laya_社区 发布时间: 20170717
... Laya.Sprite(); // 创建一个用于存放位图数组的临时精灵 let texture = Laya.loader.getRes(options.srcPath+options.srcName+".png"); // 读取图集生成大切片 let textureIns = Laya.Texture.create(texture, aniProps.res[aniProps.mc[options.srcName].frames[i].res].x, aniProps.res[aniPr...
来源: Laya_社区 发布时间: 20190215