• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 238 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0036 秒)

71. laya.loaders.VideoTextureLoader_API3.0 [ 74%]

...;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

72. laya.loaders.RenderTextureLoader_API3.0 [ 74%]

...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

73. 批量销毁释放内存(ActionScript-3D基础(AS3)-LayaAir3D的内存管理) [ 74%]

... ​ 在2D中,图片使用的是`Texture`纹理(注意不是3D中的`Texture2D`)。但是实质上Texture就是对Texture2D的再封装,Texture的 `bitmap` 属性就是他所属的Texture2D ,Texture本身是记录了Texture2的uv属性,来实现图集中的单图片显示。 ​ 所以...

来源: Laya2.0_文档 发布时间: 20210715

74. 批量销毁释放内存(TypeScript-3D基础(TS)-LayaAir3D的内存管理) [ 74%]

... ​ 在2D中,图片使用的是`Texture`纹理(注意不是3D中的`Texture2D`)。但是实质上Texture就是对Texture2D的再封装,Texture的 `bitmap` 属性就是他所属的Texture2D ,Texture本身是记录了Texture2的uv属性,来实现图集中的单图片显示。 ​ 所以...

来源: Laya2.0_文档 发布时间: 20210715

75. worker.js 使用问题 [ 73%]

...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

76. 物理碰撞器(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 73%]

...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

77. 物理碰撞器(ActionScript-3D基础(AS3)-LayaAir3D之物理系统) [ 73%]

...//新建材质 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

78. 通过canvas的缩放来实现清晰度是什么意思呢? [ 73%]

...erial();                     material.diffuseTexture = Texture2D.load("res/test4.png");   sphere.meshRender.material = material;   test4.png是一张1024*512的图,我想提高贴图的清晰度 有人说可以通canvas缩放来实现 具体怎么做? 不用Texture2D.load(...

来源: Laya_社区 发布时间: 20180601

79. 使用二进制图片 · LayaAir3.0文档 · LAYABOX [ 73%]

...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

80. 3D开启多线程报错 [ 73%]

...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