Files
UnrealEngineUWP/Engine/Source/Editor/ComponentVisualizers/Private/StereoLayerComponentVisualizer.cpp
Keli Hlodversson ab2c9cd0fd Final StereoLayer Shape refactoing changes and fixes
#jira UEVR-1495
#rb none

[CL 10480878 by Keli Hlodversson in Dev-VR branch]
2019-11-29 15:51:38 -05:00

17 lines
566 B
C++

// Copyright 1998-2019 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);
}
}