大约有 581 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0045 秒)
Laya_社区(357) Laya2.0_文档(64) Laya3.0_api(54) Laya_示例(32) Laya2.0_api(22) laya_api(20) Laya3.0_文档(19) Laya2.0_示例(13)
...片以圆形的方式显示? layaAir TS项目如何引用protoBuf库? Texture图片能否进行翻转? 如何获取图片每个像素点的RGB? 【BUG备忘录】关于Tween动画无法正常作用问题-解决办法 为什么有的图片打包,有的图片不打包? 如图 合并小图...
来源: Laya_社区 发布时间: 20170317
...hicsImg() { //临时sprite var img = new Laya.Sprite(); //img.graphics.drawTexture(Laya.loader.getRes(("../src/img/testImg.png"),0,0)); //获取图片资源 var tex = Laya.loader.getRes("../src/img/testImg.png"); //获取临时sprite的htmlCanvas var htmlCanvas = img.drawToCanvas(tex.width,tex.heigh...
来源: Laya_社区 发布时间: 20180413
... var clips=WeakObject.I.get(key); if (!Utils.isOkTextureList(clips)){ clips=null; } if (clips)this._sources=clips; else { this._sources=; if (this._stateNu...
来源: Laya_社区 发布时间: 20191122
...资源已被销毁。 对应其他的资源类型,像Mesh,Material,Texture2D等可以使用相同的方法销毁资源。
来源: Laya2.0_文档 发布时间: 20210715
...变色,会与拖尾的颜色混合叠加形成最终颜色 纹理模式(textureMode) 控制纹理应如何应用于拖尾。有平铺(Stretch)和拉伸(Tile)两种模式 纹理(texture) 应用于拖尾的纹理,具体效果受纹理模式(textureMode)的影响。 1.3属性讲解 下面我们对T...
来源: Laya3.0_文档 发布时间: 20251010
...机上就连接不上socket matter中layasprite怎么改变图片大小? Texture图片能否进行翻转? iphoneX环境下新手引导的抠图透明区域为黑色,其它机型都是正常的。 ios14系统下 blendMode='lighter' 图片异常 unity中的模型导出后在laya中显示不正...
来源: Laya_社区 发布时间: 20160601
...Mesh.createBox(1,1,1)); var material = new Laya.BlinnPhongMaterial(); Laya.Texture2D.load("res/layabox.png", Laya.Handler.create(this, function(tex) { material.albedoTexture = tex; })); box.meshRenderer.material = material; var monkey = res.getChildByName("LayaMonkey"); //查找节点 var bonePoint:...
来源: Laya2.0_文档 发布时间: 20210715
...Mesh.createBox(1,1,1)); var material = new Laya.BlinnPhongMaterial(); Laya.Texture2D.load("res/layabox.png", Laya.Handler.create(this, function(tex) { material.albedoTexture = tex; })); box.meshRenderer.material = material; var monkey = res.getChildByName("LayaMonkey"); //查找节点 var bonePoint:...
来源: Laya2.0_文档 发布时间: 20210714
...,如果forceDispose=true,则忽略引用计数,直接销毁,比如Texture,默认为false */ public static function clearRes(url:String, forceDispose:Boolean = false):void { Loader.clearRes清理你把里面的第二个参数设置成false试试 如果还是不...
来源: Laya_社区 发布时间: 20180424
...资源已被销毁。 对应其他的资源类型,像Mesh,Material,Texture2D等可以使用相同的方法销毁资源。
来源: Laya2.0_文档 发布时间: 20210715