Files
UnrealEngine/Engine/Source/Editor/ComponentVisualizers/Private/StereoLayerComponentVisualizer.cpp
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

19 lines
626 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "StereoLayerComponentVisualizer.h"
#include "Components/ActorComponent.h"
#include "Components/StereoLayerComponent.h"
#include "Templates/Casts.h"
#include "UObject/ObjectPtr.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);
}
}