You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
17 lines
556 B
C++
17 lines
556 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "StereoLayerComponentVisualizer.h"
|
|
#include "SceneManagement.h"
|
|
|
|
#include "Components/StereoLayerComponent.h"
|
|
|
|
|
|
void FStereoLayerComponentVisualizer::DrawVisualization( const UActorComponent* Component, const FSceneView* View, FPrimitiveDrawInterface* PDI )
|
|
{
|
|
const UStereoLayerComponent* StereoLayerComp = Cast<const UStereoLayerComponent>(Component);
|
|
if(StereoLayerComp != nullptr && StereoLayerComp->Shape != nullptr)
|
|
{
|
|
StereoLayerComp->Shape->DrawShapeVisualization(View, PDI);
|
|
}
|
|
}
|