MCPcopy Create free account
hub / github.com/URLab-Sim/UnrealRoboticsLab / SaveMeshHash

Function SaveMeshHash

Source/URLab/Public/Utils/IO.h:52–56  ·  view source on GitHub ↗

Save a hash string to a .hash file alongside the OBJ. */

Source from the content-addressed store, hash-verified

50
51/** Save a hash string to a .hash file alongside the OBJ. */
52inline void SaveMeshHash(const FString& ObjFilePath, const FString& Hash)
53{
54 FString HashPath = FPaths::ChangeExtension(ObjFilePath, TEXT("hash"));
55 FFileHelper::SaveStringToFile(Hash, *HashPath);
56}
57
58/** Load a previously saved hash. Returns empty string if not found. */
59inline FString LoadMeshHash(const FString& ObjFilePath)

Callers 2

DecomposeMeshMethod · 0.85
PrepareMeshForMuJoCoMethod · 0.85

Calls

no outgoing calls

Tested by 1

PrepareMeshForMuJoCoMethod · 0.68