You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
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);
|
|
}
|
|
}
|