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

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

2311. [LayaAir3]设置了mask的图片节点,图片本身的透明度不会被父节点的alpha影响,只会被mask节点的alpha影响 [ 48%]

...的宽高和点击区域? matter中layasprite怎么改变图片大小? Texture图片能否进行翻转? 如何获取图片每个像素点的RGB? 我用list.array=Array;数据全部插进去数组里了,但是list中没有完全展示数组数据,只展示了其中的图片部分,数组...

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

2312. 我照着例子做的换装例子切换不了卡槽的图片,附件为我的demo,请帮忙看看 [ 48%]

...不了卡槽的图片,附件为我的demo,请帮忙看看 if (this.currTexture && Render.isWebGL && this.currDisplayData.type==0 && this.currDisplayData.uvs){ this.currTexture=this.currDisplayData.createTexture(this.currTexture); } 跟代码发现this.currDisplayData.uvs...

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

2313. laya.ui.HScrollBar [ 48%]

...的标签。 UIComponent target : Sprite 设置滚动对象。 ScrollBar texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,...

来源: Laya2.0_api 发布时间: 20190513

2314. 获取相机renderTexture 作为阴影 的UV [ 48%]

获取相机renderTexture 作为阴影 的UV 已知:使用正交相机生成阴影贴图,顶底着色器中a_Position, 有个plane接受相机生成的阴影,通过阴影相机计算矩阵乘a_Position获取阴影UV, 混合渲染在plane上   顶点着色器:  #if defined(_RECEIVESHA...

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

2315. 微信小游戏开放数据域绘制的排行版,在游戏中显示模糊 [ 48%]

..., 960, WebGL); // 这个图片是清晰的   //纹理创建  sharedCanvasTexture = new Texture(Browser.window.sharedCanvas); sharedCanvasTexture.bitmap.alwaysChange = false          附件 : --> 2018-05-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...

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

2316. [LayaNative3]s_Blend 2与s_BlendDstRGB冲突 导致原生安卓闪退 [ 48%]

...要一渲染就会奔溃。  { "version": "LAYAMATERIAL:04", "props": { "textures": , "type": "BLINNPHONG", "renderQueue": 2000, "alphaTest": false, "materialRenderMode": 0, "s_Cull": 2, "s_BlendDstRGB": 7, "s_Blend": 2, "s_DepthTest": 1, "s_DepthWrite": true, "u_DiffuseColor": [ 1, 1, 1, 1 ], "u_M...

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

2317. TypeError: Cannot read property '_byteLength' of null [ 48%]

...s constructor Component cannot be invoked without 'new' 关于graphics.drawTexture方法设置纹理报错TypeError: texture.getIsReady is not a function 升级到2.2.0Beta报错Uncaught TypeError: Class constructor Sprite cannot be invoked without 'new' TypeError: Laya.MovieClip is not a constructo...

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

2318. 关于3D物件半透明漫反射率(官网上的例子)的BUG。 [ 48%]

...  var material = new Laya.StandardMaterial();         material.diffuseTexture = Laya.Texture2D.load("Assets/test.png");         material.albedo = new Laya.Vector4(1, 1, 1, 0.95);         material.renderMode = Laya.StandardMaterial.RENDERMODE_DEPTHREAD_TRANSPARENTDOUBLEFACE;     //渲...

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

2319. 使用layaide进行打包,提示如下错误。 [ 48%]

... not attach to main target Ts 编辑提示error TS5023: Unknown option 'p' Texture图片能否进行翻转? 图集打包找不到图集文件 用了第三方socket类 项目在IDE上可以连接正常运行,为什么打包APK之后在手机上就连接不上socket 版本不匹配! 全局 tsc (2....

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

2320. 官方DynamicBatchTest照做为什么动态合不了批? [ 48%]

...3(-40, 0, 0), true, false); camera.addComponent(CameraMoveScript);   Laya.Texture2D.load("res/threeDimen/layabox.png", Laya.Handler.create(this, function (tex) { var radius = new Laya.Vector3(0, 0, 1); var radMatrix = new Laya.Matrix4x4(); var circleCount = 50;   var boxMesh = Laya.PrimitiveMesh.c...

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