大约有 458 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0036 秒)
Laya_社区(258) Laya3.0_api(91) Laya2.0_文档(60) Laya_示例(22) Laya3.0_文档(10) Laya2.0_api(10) laya_api(7)
...时候再场景runtime继承类中,构造函数里面加载图片 Laya.Texture2D.load("billiards/grass.png",会报错。 附件 : --> 2020-06-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 157*****593 赞...
来源: Laya_社区 发布时间: 20200624
...交 3 个回复 layabox 赞同来自: 由于context初始化会持有一个Texture2D导致的。已在3.2.0-beta3上修复,请留意本周发版日志 2024-08-19 0 0 分享 微博 QZONE 微信 layaAir小孟 赞同来自: 您好,可以补发一下图片吗,需要上传附件后再插入。是3....
来源: Laya_社区 发布时间: 20240715
...r使用时报异常 9。Texture.getCachedClip有可能拿已经被销毁的Texture2D,导致渲染不出来 10。Context.destory时候没有对_shaderValueNeedRelease进行处理,导致图片资源无法释放,例子:RenderSprite._renderNextToCacheRT 11。自动图集AtlasResource默认是loc...
来源: Laya_社区 发布时间: 20241230
...dardMaterial = new Laya.StandardMaterial(); material.diffuseTexture = Laya.Texture2D.load("res/aaa.png"); material.diffuseTexture.mipmap = false; plane.meshRender.material = material; 附件 : --> 2018-04-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请:...
来源: Laya_社区 发布时间: 20180412
...使用到贴图,unity导出后将会生成贴图文件。可以使用 **Texture2D** 类来加载。
来源: Laya2.0_文档 发布时间: 20210715
..., 10))); //新建材质 var planeMat = new Laya.BlinnPhongMaterial(); Laya.Texture2D.load("res/threeDimen/Physics/grass.png", Laya.Handler.create(this, function(tex) { planeMat.albedoTexture = tex; })); //设置纹理平铺和偏移 planeMat.tilingOffset = new Laya.Vector4(10, 10, 0, 0); //设置材...
来源: Laya2.0_文档 发布时间: 20210714
...吧spine动画层级显示出来 DialogUI 遮罩层背景Alpha动态设定 texture2d的getPixels()中不能正确读取到alpha所对应的坐标 渲染队列排序问题,导致Alpha混合效果出错 求一个自定义shader alpha融合的的例子 打包出APK后达不到全屏的效果 spine动...
来源: Laya_社区 发布时间: 20180917
...方法,有返回值的时候崩溃 分享:Sprite 转换成3D贴图(Texture2D)的方法,如果有更好的方法,请告诉我。 问题状态 最新活动: 2018-06-05 20:42 浏览: 971 关注: 2 人 嘿哈 • 2018-06-05 17:55 我是用js写的,ctrl+鼠标左键提示“未找到定义...
来源: Laya_社区 发布时间: 20180605
...o/?D3Base_ResourceLoadAndDispose。 用Create加载,获取的时候,用Texture2D.load 2017-06-01 1 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 sfsmmc 相关问题 Layabox 2.0 bate5 运行编译之后 bundle.js 文件里面没有...
来源: Laya_社区 发布时间: 20170601
...ass BaseTextureInheritanceBaseTexture laya.resource.ResourceSubclasses DataTexture2D, RenderTexture, SolidColorTexture2D, SolidColorTextureCube, Texture2D, TextureCube BaseTexture 纹理的父类,抽象类,不允许实例。 Public Properties PropertyDefined By defaulteTexture : BaseTexture[...
来源: laya_api 发布时间: 20170929