• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 57 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0051 秒)

1. drawTexture时,Matrix对象,a=-1,无法实现水平翻转 [ 100%]

drawTexture时,Matrix对象,a=-1,无法实现水平翻转 g.drawTexture(texture,100, 100, texture.width, texture.height, new laya.maths.Matrix(-1)); 为何无法实现水平翻转? 绘制的图片直接看不见了,如果不设置matrix.a = -1就不会出现。 2017-02-21 添加评论 免...

来源: Laya_社区 发布时间: 20170221

2. 关于graphics.drawTexture方法设置纹理报错TypeError: texture.getIsReady is not a function [ 97%]

关于graphics.drawTexture方法设置纹理报错TypeError: texture.getIsReady is not a function 自己的问题 2019-05-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 Laya_Aaron 赞同来自: 截图和代码...

来源: Laya_社区 发布时间: 20190508

3. Sprite.drawTexture出来的图片有点模糊 [ 85%]

Sprite.drawTexture出来的图片有点模糊 左边的是程序出来的,右边的是图集文件 附件 : --> 2017-12-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 7 个回复 ayiui4566 赞同来自: laya.core.js:158...

来源: Laya_社区 发布时间: 20171219

4. Laya3.0 图片拼合缩放会导致两张图片之间有一条横线[已解决] [ 82%]

...   //使用Sprite对象的绘制纹理方式             a.graphics.drawTexture(texture1, 0, 0);             this.owner.addChild(a)         });          Laya.loader.load("http://103.219.177.59:63344/%2 ... ot%3B, Laya.Loader.TEXTURE2D).then((texture: Laya.Texture2D) => {  ...

来源: Laya_社区 发布时间: 20230316

5. LayaAir 2.0 微信排行榜 离屏画布不能直接附加到组件纹理上 [ 81%]

...上 A:let texture = new Laya.Texture(sharedCanvas); backImage.graphics.drawTexture(texture)   B:backImage.texture = texture     1.7版本可以直接把共享画布赋值给组件纹理,2.0不行(A,B两种方法) 报如下错误:   value._addReference is not a function   请问...

来源: Laya_社区 发布时间: 20181001

6. 分享:Graphics下cmds命令流的使用! [ 77%]

...纹理 var box:Sprite=new Sprite(); Laya.stage.addChild(box); box.graphics.drawTexture(texture1,50,50,0,0,new Matrix(),0.5); box.graphics.drawTexture(texture2,200,50,0,0,new Matrix(),0.5); box.graphics.drawTexture(texture3,350,50,0,0,new Matrix(),0.5); box.graphics.drawTexture(texture4,500,50,0,0,ne...

来源: Laya_社区 发布时间: 20170519

7. 使用滤镜报错 [ 75%]

...YA/PFX12/H5_SHZ/bin/libs/laya.core.js:23049:18) at WebGLContext2D.__proto._drawTextureM (file:///E:/FS_Project/trunk/LAYA/PFX12/H5_SHZ/bin/libs/laya.core.js:21451:26) at WebGLContext2D.__proto.drawTexture (file:///E:/FS_Project/trunk/LAYA/PFX12/H5_SHZ/bin/libs/laya.core.js:21355:9) at RenderContext....

来源: Laya_社区 发布时间: 20170103

8. Laya.SoundManager.playSound函数参数意义 [ 74%]

...于shader中opengl函数问题 Text类中竟然没有pos函数的api~ 2.0 drawTexture color参数无效 怎样获取浏览器地址传过来的GET参数 Graphic.drawTextures,第二个参数 pos:Array — 绘制次数和坐标,怎么写啊, 执行回调函数时报is not a function http 请求 on...

来源: Laya_社区 发布时间: 20170203

9. 代码创建精灵监听不到事件? [ 74%]

... new Laya.Sprite(); var texture = Laya.loader.getRes(boxstr); box.graphics.drawTexture(texture); var arr = {data: StorageRoom.map_storageData[0][0],tag:0}; box.on(Laya.Event.MOUSE_UP,this,this.onclick,[arr]);   var _proto = StorageUILayer.prototype;   _proto.onclick = function(params){ console.log...

来源: Laya_社区 发布时间: 20171113

10. visible无效 [ 74%]

...效(版本2.6) 关于同为object层,层级设置无效的问题 2.0 drawTexture color参数无效 LayaAir3D UnityPlug 1.7.13 导出刚体动画无效 lh文件内meshSprite添加阴影属性无效 (此问题已经无效) matter.js mouseconstraint在微信小游戏中无效 3D灯光阴影...

来源: Laya_社区 发布时间: 20171220