大约有 2,258 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0170 秒)
Laya_社区(1808) Laya3.0_api(129) laya_api(84) Laya2.0_api(82) Laya2.0_文档(76) Laya_示例(36) Laya3.0_文档(28) Laya2.0_示例(15)
...效果,但是发现canvas绘图的bug太多 我想做几张图片(或texture)的混合效果,例如defference,试了几个方法都失败了。心累了,还请官方帮忙一下。看到底是怎么回事。 首先我试了设置Sprite的blendMode,发现没有效果, 然后我试了H...
来源: Laya_社区 发布时间: 20210627
... Properties animationTotalTime durationTimeArray gid isAnimation offX offY texture textureArray Methods addAniSprite clearAll removeAniSprite showDebugInfo Properties animationTotalTime animationTotalTime: number = 0 Defined in laya/map/TileTexSet.ts:31 动画播放的总时间 durationTimeArray dur...
来源: Laya3.0_api 发布时间: 20231115
...殊的原因,我需要自己解析图集数据,并生成图集中的小texture,但是这些texture在绘制时并不会合并到一个drawcall中,请问在生成texture需要做什么特殊的设置吗? 2018-11-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...
来源: Laya_社区 发布时间: 20181108
...nGL ES的压缩纹理有常见的如下几种实现: 1)ETC1(Ericsson texture compression) 2)PVRTC (PowerVR texture compression) 3)ATITC (ATI texture compression) 4)S3TC (S3 texture compression) 有没有好工具可以一次输出所有格式纹理 2018-01-31 添加评论 免费帖 --> ...
来源: Laya_社区 发布时间: 20180131
...与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: 销毁Texture使用的图片资源,保留texture壳,如果下次渲染的时候,发现texture使用的图片资源不存在,则会自动恢复 相比clearRes,clearTextureRes只是清理texture里面使用的图片资源...
来源: Laya_社区 发布时间: 20180209
[LayaAir3]关于drawToRenderTexture2D绘制后图像模糊问题补充 首先项目需要勾选视网膜画布模式 通过重现DEMO发现是因为勾选了视网膜画布模式,原图是有缩放的,因为有视网膜模式原图虽然缩小了但清晰度依然很高,但通过drawToRende...
来源: Laya_社区 发布时间: 20250827
...s clipOff color colorAdd defines filters mainID mmat ref shader size subID texture textureHost u_CurrentTime u_Duration u_EndVelocity u_Gravity u_MvpMatrix u_mmat2 u_texture TEMPMAT4_ARRAY Methods clear release setFilters setValue updateShaderData upload __init__ _initone create Constructors constru...
来源: Laya3.0_api 发布时间: 20231115
...) export class LoaderDemo extends Laya.Script { onAwake(): void { this.loadTexture("resources/image/monkey2.png", 500);//需要在resources/image放入相应的资源 this.loadTexture("https://layaair.com/3.x/demo/resources/res/apes/monkey2.png"); } /**加载并显示图片 */ loadTexture(url: strin...
来源: Laya3.0_文档 发布时间: 20251010
...sprite 显示问题 相机中的rendertarget转换到图片中显示不了 texture = camera.renderTarget as Texture; var sp:Sprite = new Sprite(); sp.x = 800; sp.graphics.drawTexture(texture,0,0,100,100); Laya.stage.addChild(sp); 2017-05-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...
来源: Laya_社区 发布时间: 20170510
... 6, 10, 10))); var planeMat = new Laya.StandardMaterial(); planeMat.diffuseTexture = Laya.Texture2D.load("../../res/threeDimen/texture/layabox.png"); planeMat.albedo = new Laya.Vector4(0.9, 0.9, 0.9, 1); plane.meshRender.material = planeMat; var meshCollider = plane.addComponent(Laya.MeshCollider); ...
来源: Laya_示例 发布时间: 20251209