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

Method GetAssets

Source/Engine/Content/Content.cpp:727–734  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

725}
726
727Array<Asset*> Content::GetAssets()
728{
729 Array<Asset*> assets;
730 AssetsLocker.Lock();
731 Assets.GetValues(assets);
732 AssetsLocker.Unlock();
733 return assets;
734}
735
736Array<Asset*> Content::GetAssets(const MClass* type)
737{

Callers

nothing calls this directly

Calls 5

LockMethod · 0.80
UnlockMethod · 0.80
GetValuesMethod · 0.45
IsMethod · 0.45
AddMethod · 0.45

Tested by

no test coverage detected