MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / GetPath

Method GetPath

Source/Engine/Content/JsonAsset.cpp:94–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94StringView JsonAssetBase::GetPath() const
95{
96#if USE_EDITOR
97 return _path;
98#else
99 // In build all assets are packed into packages so use ID for original path lookup
100 return Content::GetRegistry()->GetEditorAssetPath(_id);
101#endif
102}
103
104uint64 JsonAssetBase::GetMemoryUsage() const
105{

Callers 15

UpdateLightmapsMethod · 0.45
cacheStaticGeometryTreeFunction · 0.45
InitMethod · 0.45
JobMethod · 0.45
InitMethod · 0.45
LoadShaderCacheMethod · 0.45
InitMethod · 0.45
RunMethod · 0.45
GetAssetInfoMethod · 0.45
GetAssetMethod · 0.45
GetStackTraceMethod · 0.45
InitMethod · 0.45

Calls 1

GetEditorAssetPathMethod · 0.45

Tested by

no test coverage detected