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

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

11. laya.d3.core.scene.Lightmap_API3.0 [ 82%]

...ghtmapDirection ApplyLightmapEvent Properties lightmapColor lightmapColor: Texture2D Defined in laya/d3/core/scene/Lightmap.ts:9 光照贴图颜色。 lightmapDirection lightmapDirection: Texture2D Defined in laya/d3/core/scene/Lightmap.ts:11 光照贴图方向。 Static ApplyLightmapEvent ApplyLigh...

来源: Laya3.0_api 发布时间: 20231115

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

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

13. laya.d3.core.HeightMap [ 81%]

...ber) 创建一个 HeightMap 实例。 HeightMap  createFromImage(texture:Texture2D, minHeight:Number, maxHeight:Number):HeightMap[static] 从图片生成高度图。 HeightMap  creatFromMesh(mesh:Mesh, width:int, height:int, outCellSize:Vector2):HeightMap[static] 从网格精灵生成高度图...

来源: laya_api 发布时间: 20170929

14. laya.d3.core.HeightMap [ 81%]

...ber) 创建一个 HeightMap 实例。 HeightMap  createFromImage(texture:Texture2D, minHeight:Number, maxHeight:Number):HeightMap[static] 从图片生成高度图。 HeightMap  creatFromMesh(mesh:Mesh, width:int, height:int, outCellSize:Vector2):HeightMap[static] 从网格精灵生成高度图...

来源: Laya2.0_api 发布时间: 20190513

15. laya.resource.Texture2DArray_API3.0 [ 81%]

...rotected All Inherited Externals Only exported Menu Globals "laya/resource/Texture2DArray" Texture2DArray Class Texture2DArray 2D 纹理 数组 Hierarchy BaseTexture Texture2DArray Index Constructors constructor Properties _id depth destroyedImmediately lock name url uuid DEBUG Accessors anisoLevel ...

来源: Laya3.0_api 发布时间: 20231115

16. laya.d3.core.HeightMap_API3.0 [ 80%]

...寸。 Returns HeightMap Static createFromImage createFromImage(texture: Texture2D, minHeight: number, maxHeight: number): HeightMap Defined in laya/d3/core/HeightMap.ts:95 从图片生成高度图。 Parameters texture: Texture2D minHeight: number maxHeight: number 最大高度。 Returns HeightMap...

来源: Laya3.0_api 发布时间: 20231102

17. laya.d3.resource.DataTexture2D [ 79%]

...cumentationAll Packages | All Classes | Index | Frames No Frames DataTexture2DProperties | Methods Packagelaya.d3.resourceClasspublic class DataTexture2DInheritanceDataTexture2D BaseTexture laya.resource.ResourcePublic Properties Hide Inherited Public Properties Show Inherited Public Propert...

来源: laya_api 发布时间: 20170929

18. 2.x引擎项目升级指南 · LayaAir3.0文档 · LAYABOX [ 78%]

...url2 = "xxxxx.png"; var type1 = Laya.Loader.IMAGE; var type2 = Laya.Loader.TEXTURE2D; Laya.loader.load([url1, url2]).then((res:Array<any>)=> { //加载多个,不带类型 }); Laya.loader.load([url1, url2], type).then((res:Array<any>)=> { //加载多个,统一设置类型 }); La...

来源: Laya3.0_文档 发布时间: 20230406

19. laya.gltf.glTFUtils_API3.0 [ 75%]

...c getTexturewithInfo getTexturewithInfo(glTFTextureInfo: glTFTextureInfo): Texture2D Defined in laya/gltf/glTFUtils.ts:485 根据 glTFTextureInfo 获取 Texture2D Parameters glTFTextureInfo: glTFTextureInfo Returns Texture2D Static pickMeshMaterials pickMeshMaterials(glTFMesh: glTFMesh): Material[] ...

来源: Laya3.0_api 发布时间: 20231102

20. laya.net.Loader_API3.0 [ 72%]

...CHY IMAGE JSON MATERIAL MESH SOUND SPINE TERRAINHEIGHTDATA TERRAINRES TEXT TEXTURE2D TEXTURECUBE TTF VIDEO XML downloader extMap groupMap loadedMap preLoadedMap typeMap Accessors loading Methods cacheRes cancelLoadByUrl cancelLoadByUrls clearRes clearTextureRes clearUnLoaded event fetch getRes hasLi...

来源: Laya3.0_api 发布时间: 20231115