/Engine/Source/Runtime/Engine/Public/SceneInterface.h
Returns theFPrimitiveComponentIdfor all primitives in the scene
TConstArrayView< [FPrimitiveComponentId](API\Runtime\Engine\FPrimitiveComponentId) > GetScenePrimitiveComponentIds() const