Files
UnrealEngineUWP/Engine/Source/Editor/ComponentVisualizers/Private/StereoLayerComponentVisualizer.cpp
Rolando Caloca bbb9564388 Copying //UE4/Dev-RenderPlat-Staging@11110326 to //UE4/Main
#rb none
#rnx

[CL 11110369 by Rolando Caloca in Main branch]
2020-01-24 18:07:01 -05:00

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);
}
}