Files
UnrealEngineUWP/Engine/Source/Editor/ComponentVisualizers/Private/PhysicalAnimationComponentVisualizer.cpp
bryan sefcik 0837230669 Ran IWYU again on half of the Engine/Source/Editor/... source files.
#jira

[CL 21716414 by bryan sefcik in ue5-main branch]
2022-08-30 23:03:03 -04:00

16 lines
525 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "PhysicalAnimationComponentVisualizer.h"
#include "Components/ActorComponent.h"
#include "PhysicsEngine/PhysicalAnimationComponent.h"
#include "Templates/Casts.h"
void FPhysicsAnimationComponentVisualizer::DrawVisualization( const UActorComponent* Component, const FSceneView* View, FPrimitiveDrawInterface* PDI )
{
if(const UPhysicalAnimationComponent* PhysAnimComp = Cast<const UPhysicalAnimationComponent>(Component))
{
PhysAnimComp->DebugDraw(PDI);
}
}