Files
UnrealEngineUWP/Engine/Source/Editor/StatsViewer/Private/StatsEntries/PrimitiveStats.cpp
bryan sefcik 8cc129f2b6 IWYU Pass 1 - Engine/Source/Editor/...
#jira
#preflight 6306736ac85b7fef22be7751

[CL 21558583 by bryan sefcik in ue5-main branch]
2022-08-24 22:45:13 -04:00

20 lines
371 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "PrimitiveStats.h"
#include "UObject/Class.h"
#include "UObject/WeakObjectPtr.h"
UPrimitiveStats::UPrimitiveStats(const FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer)
{
}
void UPrimitiveStats::UpdateNames()
{
if( Object.IsValid() )
{
Type = Object.Get()->GetClass()->GetName();
}
}