Files
UnrealEngineUWP/Engine/Source/Editor/ComponentVisualizers/Private/WorldPartitionStreamingSourceComponentVisualizer.cpp
richard malo d12ea59d6d - Added support of custom shapes for world partition streaming sources.
- Shapes can have their location/orientation and can be spheres or spherical sectors.
- Added IsStreamingCompleted function to WorldPartitionStreamingSourceComponent.
#rb jeanfrancois.dube, patrick.enfedaque
#preflight 610be114678ece00015e5fad


#ROBOMERGE-OWNER: richard.malo
#ROBOMERGE-AUTHOR: richard.malo
#ROBOMERGE-SOURCE: CL 17067699
#ROBOMERGE-BOT: (v853-17066230)
#ROBOMERGE-CONFLICT from-shelf

[CL 17067947 by richard malo in ue5-main branch]
2021-08-05 10:40:35 -04:00

14 lines
580 B
C++

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