大约有 1,726 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0067 秒)
Laya_社区(1387) Laya3.0_api(107) laya_api(68) Laya2.0_api(68) Laya2.0_文档(65) Laya3.0_文档(18) Laya_示例(8) Laya2.0_示例(5)
...要一渲染就会奔溃。 { "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
...自动更新缓存,只能通过调用reCache方法手动刷新。Sprite texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,...
来源: Laya2.0_api 发布时间: 20190513
... 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
...同来自: 附件已上传 微信和laya都是最新版 461行 var rankTexture = new Texture(window.sharedCanvas); 报错 用法参考的是 https://ask.layabox.com/question/12349 xiaosong的文档 wxgame.rar 2018-03-28 0 0 分享 微博 QZONE 微信 liuxshwin 赞同来自: @Gaomengqing 运...
来源: Laya_社区 发布时间: 20180328
...自动更新缓存,只能通过调用reCache方法手动刷新。Sprite texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,...
来源: Laya2.0_api 发布时间: 20190513
...一致的编译错误 unity中的模型导出后在laya中显示不正常 Texture图片能否进行翻转? 播放背景音乐的问题 刚打开 桌面调试出现报错Uncaught (in promise) DOMException: play() 3D模型无法修改scale? 问题状态 最新活动: 2018-08-09 10:38 浏览: 1396 ...
来源: Laya_社区 发布时间: 20180808
...oxSize*1.1-1); var material = new Laya.StandardMaterial(); material.diffuseTexture = Laya.Texture2D.load("res/layabox.png"); material.albedo = new Laya.Vector4(1,0,1,1); box.meshRender.material = material; box.meshRender.receiveShadow = true; box.meshRender.castShadow = true; poolBox.push(box); } } ...
来源: Laya_社区 发布时间: 20180117
...:相机输出到屏幕的高度。 Depth 深度。绘图顺序。 Target Texture 目标纹理。 ### 使用代码获取导出的摄像机 那么,如果在unity中创建了摄像机并导出,在代码中加载导出文件后,我们怎么去获取摄像机呢?这可以通过场景的子...
来源: Laya2.0_文档 发布时间: 20210715