Files
UnrealEngineUWP/Engine/Source/Runtime/Engine/Private/SkeletalMeshSimplificationSettings.cpp
ryan durand 0f0464a30e Updating copyright for Engine Runtime.
#rnx
#rb none


#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869210 via CL 10869511 via CL 10869900
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870549 by ryan durand in Main branch]
2019-12-26 14:45:42 -05:00

51 lines
1.0 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "Engine/SkeletalMeshSimplificationSettings.h"
#include "UObject/UnrealType.h"
USkeletalMeshSimplificationSettings::USkeletalMeshSimplificationSettings(const FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer)
{
}
FName USkeletalMeshSimplificationSettings::GetContainerName() const
{
static const FName ContainerName("Project");
return ContainerName;
}
FName USkeletalMeshSimplificationSettings::GetCategoryName() const
{
static const FName EditorCategoryName("Editor");
return EditorCategoryName;
}
void USkeletalMeshSimplificationSettings::PostInitProperties()
{
Super::PostInitProperties();
#if WITH_EDITOR
if (IsTemplate())
{
ImportConsoleVariableValues();
}
#endif
}
#if WITH_EDITOR
void USkeletalMeshSimplificationSettings::PostEditChangeProperty(struct FPropertyChangedEvent& PropertyChangedEvent)
{
Super::PostEditChangeProperty(PropertyChangedEvent);
if (PropertyChangedEvent.Property)
{
ExportValuesToConsoleVariables(PropertyChangedEvent.Property);
}
}
#endif