/Engine/Source/Runtime/Engine/Public/ObjectCacheContext.h
[TObjectCacheIterator](API\Runtime\Engine\TObjectCacheIterator)< [UMaterialInterface](API\Runtime\Engine\Materials\UMaterialInterface) > GetUsedMaterials ( [UPrimitiveComponent](API\Runtime\Engine\Components\UPrimitiveComponent) * InComponent )