大约有 1,735 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0092 秒)
Laya_社区(1392) Laya3.0_api(107) laya_api(68) Laya2.0_api(68) Laya2.0_文档(65) Laya3.0_文档(22) Laya_示例(8) Laya2.0_示例(5)
...Canvas(this.gridBox.width,this.gridBox.height,0,0); //获取截屏区域的texture this._tex = new Laya.Texture(this._htmlC); this._photo=new Laya.Sprite(); //将截屏的texture进行draw绘制并显示到舞台 this._photo.name="testtt"; this._photo.graphics.drawTexture(this._tex,0,0,this.gridBox....
来源: Laya_社区 发布时间: 20170502
...de='lighter' 图片异常 使用钢体设置防穿后仍有几率会穿透 Texture图片能否进行翻转? 图集打包找不到图集文件 matter中layasprite怎么改变图片大小? 如何通过命令行工具构建和发布项目 IDE1.7.8 json图集加载问题 问题状态 最新活动: 2...
来源: Laya_社区 发布时间: 20180401
...promise) TypeError: Cannot read property 'width' of null at Function.Texture._create (laya.core.js:15946) at Texture.__proto._onLoaded (laya.core.js:15750) at EventHandler.__proto.runWith (laya.core.js:1410) at ResInfo.__proto.event (laya.core.js:1166) at LoaderManager....
来源: Laya_社区 发布时间: 20200201
...hTerrainSprite3D.createFromMeshAndHeightMap(terrain.meshFilter.sharedMesh, texture, 45.58879852294922, -45.58879852294922); //报错:Cannot read property 'width' of undefinedDemo见附件。 附件 : --> test.rar 2017-06-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...
来源: Laya_社区 发布时间: 20170601
...uniformMaps 规则详解5.1 uniformMaps 是数组而不是对象5.2 StorageTexture2D 与 StorageBuffer 规则5.3 未声明资源的自动补齐机制6. 编译流程与底层实现6.1 ComputeShader 创建与缓存6.2 GLSL → SPIR-V → WGSL7. 自动绑定机制与 SSBO 约束7.1 绑定点自动分...
来源: Laya3.0_文档 发布时间: 20260131
...自: Laya_Fred 、Laya_Yan 已经找到了问题,同一个资源创建了texture2d和texture导致 2021-12-01 2 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 张嘉俊 相关问题 List 组件列表渲染异常...
来源: Laya_社区 发布时间: 20211130
...07 13:33:42.747450+0800 sanguo[777:557379] getExtension WEBGL_compressed_texture_s3tc 尚未支持 2019-01-07 13:33:42.747689+0800 sanguo[777:557379] getExtension WEBKIT_WEBGL_compressed_texture_s3tc 尚未支持 2019-01-07 13:33:42.747810+0800 sanguo[777:557379] ge...
来源: Laya_社区 发布时间: 20190107
...//创建材质 var material:BlinnPhongMaterial = new BlinnPhongMaterial(); Texture2D.load("res/layabox.png", Handler.create(this, function(tex:Texture2D):void { //纹理加载完成后赋值 material.albedoTexture = tex; })); //将材质赋值给自定义模型 box.meshRenderer.material = material; ...
来源: Laya2.0_文档 发布时间: 20210715
...Materials/Materials.lmat") as Laya.UnlitMaterial; var unlitTexture:Laya.Texture2D = Laya.Loader.getRes("Images/BG_PopWindow.png") as Laya.Texture2D; material.albedoTexture = unlitTexture; this.unit3D.meshRenderer.material = material; 附件 : --> 2019-09-07 添加评论 免费帖 -->...
来源: Laya_社区 发布时间: 20190907
...本地路径,比如示例中引用的就是本地路径, ```json Laya.Texture2D.load("res/layabox.png"); ``` 如果项目的目录中,全部大小加起来不超过5M的话,只要能找到本地的资源,怎么写也没问题。 但是, 百度小游戏的本地包有5M的限制,一旦...
来源: Laya2.0_文档 发布时间: 20210714