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

Method GetReferences

Source/Engine/Content/Assets/ModelBase.cpp:927–933  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

925#if USE_EDITOR
926
927void ModelBase::GetReferences(Array<Guid>& assets, Array<String>& files) const
928{
929 BinaryAsset::GetReferences(assets, files);
930
931 for (auto& slot : MaterialSlots)
932 assets.Add(slot.Material.GetID());
933}
934
935bool ModelBase::Save(const StringView& path)
936{

Callers

nothing calls this directly

Calls 3

GetIDMethod · 0.80
GetReferencesFunction · 0.70
AddMethod · 0.45

Tested by

no test coverage detected