// Copyright Epic Games, Inc. All Rights Reserved. #include "WorldPartitionStreamingSourceComponentVisualizer.h" #include "Components/ActorComponent.h" #include "Components/WorldPartitionStreamingSourceComponent.h" #include "Templates/Casts.h" void FWorldPartitionStreamingSourceComponentVisualizer::DrawVisualization(const UActorComponent* Component, const FSceneView* View, FPrimitiveDrawInterface* PDI) { if (const UWorldPartitionStreamingSourceComponent* StreamingSourceComponent = Cast(Component)) { StreamingSourceComponent->DrawVisualization(View, PDI); } }