Files
UnrealEngine/Engine/Plugins/Experimental/PhysicsControl/Source/PhysicsControlEditor/Private/PhysicsControlComponentVisualizer.cpp
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

17 lines
543 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "PhysicsControlComponentVisualizer.h"
#include "PhysicsControlComponent.h"
//======================================================================================================================
void FPhysicsControlComponentVisualizer::DrawVisualization(
const UActorComponent* Component,
const FSceneView* View,
FPrimitiveDrawInterface* PDI)
{
if (const UPhysicsControlComponent* PCC = Cast<const UPhysicsControlComponent>(Component))
{
PCC->DebugDraw(PDI);
}
}