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

Method GetReferences

Source/Engine/Content/Assets/MaterialInstance.cpp:131–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129#if USE_EDITOR
130
131void MaterialInstance::GetReferences(Array<Guid>& assets, Array<String>& files) const
132{
133 MaterialBase::GetReferences(assets, files);
134 if (_baseMaterial)
135 assets.Add(_baseMaterial->GetID());
136}
137
138#endif
139

Callers

nothing calls this directly

Calls 3

GetIDMethod · 0.80
GetReferencesFunction · 0.70
AddMethod · 0.45

Tested by

no test coverage detected