更新代码

This commit is contained in:
ChenX
2024-03-14 14:18:39 +08:00
parent 7ad2143637
commit d61ef7270d
74 changed files with 1675 additions and 558 deletions

View File

@@ -0,0 +1,8 @@
export declare const UE_RES_URL = "http://192.168.1.251:25110";
/**
* 根据目录地址,生成
* @param path '/Paks/Fbx/Data/ASSETS/DUAA_0004/LOD_DUAA_0004.FBX'
* @returns 实际的资源请求地址
*/
export declare function GenerateCdnUrl(path: string, isSmallFile?: boolean): string;
//# sourceMappingURL=GenerateCdnUrl.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"GenerateCdnUrl.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/testEntity/GenerateCdnUrl.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,UAAU,+BAA+B,CAAC;AAEvD;;;;GAIG;AAEH,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,WAAW,UAAO,GAAG,MAAM,CA2BvE"}

View File

@@ -0,0 +1,10 @@
import { MeshPhongMaterial, MeshPhysicalMaterial } from "three";
import { FBXLoader } from "three/examples/jsm/loaders/FBXLoader";
export declare const UE_FBX_LOADER: FBXLoader;
export declare function ParseMaterialImages(url: string): Promise<Map<string, HTMLImageElement>>;
export declare function ParseFBXUrl(url: string): string;
export declare function ParseBoxUrl(url: string, box?: boolean): string;
export declare function GetDefultFBXMaterial(): MeshPhysicalMaterial;
export declare function ConverMaterial2(m: MeshPhongMaterial, url: string): Promise<MeshPhysicalMaterial>;
export declare function ParseUrlName(url: string): string;
//# sourceMappingURL=ParseMaterialImage.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"ParseMaterialImage.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/testEntity/ParseMaterialImage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,iBAAiB,EAAE,oBAAoB,EAAkD,MAAM,OAAO,CAAC;AAC5H,OAAO,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AAMjE,eAAO,MAAM,aAAa,WAAkB,CAAC;AAE7C,wBAAsB,mBAAmB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC,CAc7F;AAED,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAI/C;AAED,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,UAAQ,GAAG,MAAM,CAI5D;AAGD,wBAAgB,oBAAoB,yBAwBnC;AAED,wBAAsB,eAAe,CAAC,CAAC,EAAE,iBAAiB,EAAE,GAAG,EAAE,MAAM,iCAsItE;AAED,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAIhD"}