You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
17 lines
543 B
C++
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);
|
||
|
|
}
|
||
|
|
}
|