UActorComponent::GetCustomEditorPreviewWidget

If this component is set up to provide a preview window in editor (see GetEditorPreviewInfo), you can use this to customize the preview (to be something other than a world viewport).