大约有 335 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0046 秒)
Laya3.0_api(110) Laya2.0_api(67) Laya_社区(65) laya_api(61) Laya2.0_文档(16) Laya3.0_文档(14) Laya2.0_示例(1) Laya_示例(1)
...material = mat; //设置场景的反射贴图 scene.customReflection = mat.textureCube; //设置曝光强度 var exposureNumber:Number = 0; mat.exposure = 0.6 + 1; })); ..... //加载Mesh Laya.Mesh.load("res/threeDimen/staticModel/teapot/teapot-Teapot001.lm", Laya.Handler.create(null, function(mesh)...
来源: Laya2.0_文档 发布时间: 20210715
...tors constructor Properties _id destroyedImmediately lock name settings sv texture url uuid x y DEBUG activeBlendType Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL _setGPUMemor...
来源: Laya3.0_api 发布时间: 20231115
...f null的错误 IDE打开某个场景时弹处弹框报错:对[Dialog]的texture属性赋值时遇错误:cannot read property 'width' of null 问题状态 最新活动: 2016-12-27 22:23 浏览: 1478 关注: 2 人 c416288806 • 2017-03-14 21:06 有遇到类似的,加载过事件了,有时候...
来源: Laya_社区 发布时间: 20161227
...而在image的skin更换皮肤时,可以从loader里使用getRes加载到texture,但此时texture还未加载完成,所以导致source._bitmap为null,无法显示的问题,这个问题目前我们没有较好的解决方案,只能使用预加载或在loadImage的回调内更换skin来规...
来源: Laya_社区 发布时间: 20211105
...bXRCamera Index Constructors constructor Properties _cacheDepth _cacheDepthTexture _extra _forward _scene _up _url clearFlag enableRender name tag useOcclusionCulling RENDERINGTYPE_DEFERREDLIGHTING RENDERINGTYPE_FORWARDRENDERING WORLDINVERTFRONT _contextScissorPortCatch Accessors active activeInHier...
来源: Laya3.0_api 发布时间: 20231115
...不了卡槽的图片,附件为我的demo,请帮忙看看 if (this.currTexture && Render.isWebGL && this.currDisplayData.type==0 && this.currDisplayData.uvs){ this.currTexture=this.currDisplayData.createTexture(this.currTexture); } 跟代码发现this.currDisplayData.uvs...
来源: Laya_社区 发布时间: 20180201
...bXRCamera Index Constructors constructor Properties _cacheDepth _cacheDepthTexture _extra _forward _scene _up _url clearFlag enableRender name tag useOcclusionCulling RENDERINGTYPE_DEFERREDLIGHTING RENDERINGTYPE_FORWARDRENDERING WORLDINVERTFRONT _contextScissorPortCatch Accessors active activeInHier...
来源: Laya3.0_api 发布时间: 20231115
...,如果forceDispose=true,则忽略引用计数,直接销毁,比如Texture,默认为false */ public static function clearRes(url:String, forceDispose:Boolean = false):void { Loader.clearRes清理你把里面的第二个参数设置成false试试 如果还是不...
来源: Laya_社区 发布时间: 20180424
... false); //创建材质 var material = new Laya.BlinnPhongMaterial(); Laya.Texture2D.load("res/layabox.png", Laya.Handler.create(null, function(tex){ //纹理加载完成后赋值 material.albedoTexture = tex; })); //将材质赋值给自定义模型 box.meshRenderer.material = material; ``` ![](img...
来源: Laya2.0_文档 发布时间: 20210714
...默认文本颜色是绿色,我想换成其他颜色,如何操作? Texture图片能否进行翻转? 将list里的scrollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 如何获取一个3D模型的长宽高? 模型资源释放问题 问题状态 最...
来源: Laya_社区 发布时间: 20170101