16 lines
620 B
C++
16 lines
620 B
C++
// 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<const UWorldPartitionStreamingSourceComponent>(Component))
|
|
{
|
|
StreamingSourceComponent->DrawVisualization(View, PDI);
|
|
}
|
|
}
|