大约有 85 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0133 秒)
ArrayBuffer如何转为Texture? 如题。我查看该文档。 https://ldc.layabox.com/doc/?nav=zh-ts-3-1-0 该文档里面并没有说明在Native下面如果通过二进制构造Texture。 同时, https://ask.layabox.com/question/7667 https://ask.layabox.com/question/4279 也没有详细说...
来源: Laya_社区 发布时间: 20171207
Texture,和Texture2D如何互转? 我要设置模型的贴图,我通过Laya.Texture2D.load(path)读取到的是Texture,不能直接设置到Texture2D上去 2018-05-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个...
来源: Laya_社区 发布时间: 20180521
Texture.createFromTexture()方法不能截取贴图指定的区域 使用Texture.createFromTexture()方法截取贴图指定的某个区域时,此方法总是返回整张贴图 附件 : --> 3DTest.zip 2019-08-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...
来源: Laya_社区 发布时间: 20190829
...请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: Texture保存的只是大图引用和uv数据,并不是实际的贴图! 2017-06-29 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 zhengjiajia 相关问题 2.2-...
来源: Laya_社区 发布时间: 20170629
...h:Number = 1):DrawCurvesCmd 绘制一系列曲线。 Graphics drawImage(texture:Texture, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0):DrawImageCmd 绘制单独图片 Graphics drawLine(fromX:Number, fromY:Number, toX:Number, toY:Number, lineColor:String, lineWidth:Number = 1...
来源: Laya2.0_api 发布时间: 20190513
... ConchGraphics.prototype.setSkinMesh = function (ib, vb, eleNum, iStart, texture, mat) { var img = texture.source; var _ = conch.bf; if (ib.conch_id === undefined || !ib._upload) { ib.conch_id = CanvasRenderingContext2D.ID++; ib.conchRef = new ArrayBufferRef(); ib.conchRef.id = ib.conch_id; _.needsz...
来源: Laya_社区 发布时间: 20190806
LayaAir引擎 微信小游戏 sharedCanvas 创建的Texture,能否再调用Texture.createFromTexture创建新纹理 微信小游戏,sharedCanvas需要切分成很多块,在页面不同地方显示 下面这段代码使用 createFromTexture, 但是不能工作 针对sharedCanva...
来源: Laya_社区 发布时间: 20180531
...材质类型。 分类 材质 Build in 管线 Standard 材质 Ulit Color/Texture/Cut Out/ Transparent 材质 URP 管线 URP Lit材质 URP Ulit材质 天空盒 Procedural 程序化天空盒 6 Sideed Panoramic 全景图 旧版着色器(只做兼容考虑, 不建议) Diffuse Fast Diffuse Diffuse De...
来源: Laya3.0_文档 发布时间: 20251010
...llipse drawImage drawLine drawLines drawPath drawPie drawPoly drawRect drawTexture drawTextures drawTriangles fillBorderText fillText fillTexture getBounds loadImage removeCmd restore rotate save scale strokeText transform translate Constructors constructor new Graphics(): Graphics Defined in laya/d...
来源: Laya3.0_api 发布时间: 20231115
...问题 示例:3D-摄像机-渲染到2DSprite 中, var rtex = new Laya.Texture(renderTargetCamera.renderTarget, Laya.Texture.DEF_UV); renderTargetCamera.renderTarget的类型是RenderTexture在这里无法创建Texture对象, 请问是后续的版本去掉了,还是有所修改,望指导。...
来源: Laya_社区 发布时间: 20201112