How to get path of source files of AStaticActor or UStaticMesh?


Hi, there.

I want to get path of UStaticMeshComponent’s source file. you can see the red box above.

I searched ue4 documents of ‘AStaticMeshActor’, ‘UStaticMeshComponent’, ‘UStaticMesh’, ‘UObjectBaseUtility’.

with these documents, I tried to do this but there’s no appropriate functions.

plz help me.

I found a answer by myself.

I could get UAssetImportData from UStaticMesh, and I extracted sourcefilename with getFirstFilename() function.