/Engine/Source/Editor/UnrealEd/Public/LevelEditorViewport.h
Find a view component to use for the specified actor. Prioritizes selected components first, followed by camera components (then falls through to the first component that implements GetEditorPreviewInfo)
static [UActorComponent](API\Runtime\Engine\Components\UActorComponent) * FindViewComponentForActor ( [AActor](API\Runtime\Engine\GameFramework\AActor) const * Actor )