大约有 2,544 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0056 秒)
Laya_社区(2051) Laya3.0_api(129) Laya2.0_文档(109) laya_api(84) Laya2.0_api(82) Laya3.0_文档(38) Laya_示例(36) Laya2.0_示例(15)
...的宽高和点击区域? matter中layasprite怎么改变图片大小? Texture图片能否进行翻转? 如何获取图片每个像素点的RGB? 我用list.array=Array;数据全部插进去数组里了,但是list中没有完全展示数组数据,只展示了其中的图片部分,数组...
来源: Laya_社区 发布时间: 20250730
...不了卡槽的图片,附件为我的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
...的标签。 UIComponent target : Sprite 设置滚动对象。 ScrollBar texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,...
来源: Laya2.0_api 发布时间: 20190513
获取相机renderTexture 作为阴影 的UV 已知:使用正交相机生成阴影贴图,顶底着色器中a_Position, 有个plane接受相机生成的阴影,通过阴影相机计算矩阵乘a_Position获取阴影UV, 混合渲染在plane上 顶点着色器: #if defined(_RECEIVESHA...
来源: Laya_社区 发布时间: 20200229
..., 960, WebGL); // 这个图片是清晰的 //纹理创建 sharedCanvasTexture = new Texture(Browser.window.sharedCanvas); sharedCanvasTexture.bitmap.alwaysChange = false 附件 : --> 2018-05-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...
来源: Laya_社区 发布时间: 20180522
...要一渲染就会奔溃。 { "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
...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
... 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
... not attach to main target Ts 编辑提示error TS5023: Unknown option 'p' Texture图片能否进行翻转? 图集打包找不到图集文件 用了第三方socket类 项目在IDE上可以连接正常运行,为什么打包APK之后在手机上就连接不上socket 版本不匹配! 全局 tsc (2....
来源: Laya_社区 发布时间: 20170604
...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