大约有 238 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0036 秒)
Laya_社区(110) Laya2.0_文档(51) Laya3.0_api(41) Laya_示例(22) Laya2.0_api(5) Laya3.0_文档(4) laya_api(4) Laya2.0_示例(1)
...;VideoTexture> Globals "laya/loaders/TextureLoader" RenderTextureLoader Texture2DLoader TextureLoader VideoTextureLoader load compressedFormats constructParams2d internalResources videoFormats propertyParams2d Legend Object literal Variable Function Type alias Class Class with type parameter Meth...
来源: Laya3.0_api 发布时间: 20231115
...rTexture> Globals "laya/loaders/TextureLoader" RenderTextureLoader load Texture2DLoader TextureLoader VideoTextureLoader compressedFormats constructParams2d internalResources videoFormats propertyParams2d Legend Object literal Variable Function Type alias Class Class with type parameter Method En...
来源: Laya3.0_api 发布时间: 20231115
... 在2D中,图片使用的是`Texture`纹理(注意不是3D中的`Texture2D`)。但是实质上Texture就是对Texture2D的再封装,Texture的 `bitmap` 属性就是他所属的Texture2D ,Texture本身是记录了Texture2的uv属性,来实现图集中的单图片显示。 所以...
来源: Laya2.0_文档 发布时间: 20210715
... 在2D中,图片使用的是`Texture`纹理(注意不是3D中的`Texture2D`)。但是实质上Texture就是对Texture2D的再封装,Texture的 `bitmap` 属性就是他所属的Texture2D ,Texture本身是记录了Texture2的uv属性,来实现图集中的单图片显示。 所以...
来源: Laya2.0_文档 发布时间: 20210715
...text': No function was found that matched the signature provided. at Texture2D.__proto._createWebGlTexture (laya.d3.js:33519) at Texture2D.__proto.recreateResource (laya.d3.js:33562) at Texture2D.__proto.activeResource (laya.core.js:13234) at Texture2D.<anonymous> (laya...
来源: Laya_社区 发布时间: 20171120
...var planeMat:Laya.BlinnPhongMaterial = new Laya.BlinnPhongMaterial(); Laya.Texture2D.load("res/threeDimen/Physics/grass.png", Laya.Handler.create(this, function(tex:Laya.Texture2D) { planeMat.albedoTexture = tex; })); //设置纹理平铺和偏移 planeMat.tilingOffset = new Laya.Vector4(10, 10, 0, ...
来源: Laya2.0_文档 发布时间: 20210715
...//新建材质 var planeMat:BlinnPhongMaterial = new BlinnPhongMaterial(); Texture2D.load("res/threeDimen/Physics/grass.png", Handler.create(null, function(tex:Texture2D):void { planeMat.albedoTexture = tex; })); //设置纹理平铺和偏移 planeMat.tilingOffset = new Vector4(10, 10, 0, 0); //设...
来源: Laya2.0_文档 发布时间: 20210714
...erial(); material.diffuseTexture = Texture2D.load("res/test4.png"); sphere.meshRender.material = material; test4.png是一张1024*512的图,我想提高贴图的清晰度 有人说可以通canvas缩放来实现 具体怎么做? 不用Texture2D.load(...
来源: Laya_社区 发布时间: 20180601
...HTMLImageElement Laya.loader.fetch( url,"image" ).then((res)=>{ //创建Texture2D var t2d: Texture2D = new Texture2D(res.width, res.height, TextureFormat.R8G8B8A8, false, false, true); t2d.setImageData(res, true, false); //创建Texture var texture: Texture = new Texture(t2d); let sp2:Sprite = ne...
来源: Laya3.0_文档 发布时间: 20230303
...text': No function was found that matched the signature provided. at Texture2D.__proto._createWebGlTexture (laya.d3.js:37225) at Texture2D.__proto.recreateResource (laya.d3.js:37271) at Texture2D.__proto.onAsynLoaded (laya.d3.js:37329) at ResInfo.onLoaded (laya.core.js:13189)...
来源: Laya_社区 发布时间: 20190227