Files
2025-05-18 13:04:45 +08:00

20 lines
600 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "LiveLinkOverNDisplaySettings.h"
#include "LiveLinkOverNDisplayPrivate.h"
#include "Misc/CommandLine.h"
ULiveLinkOverNDisplaySettings::ULiveLinkOverNDisplaySettings()
{
FString BoolValue;
const bool bIsFoundOnCommandLine = FParse::Value(FCommandLine::Get(), TEXT("-EnableLiveLinkOverNDisplay="), BoolValue);
if (bIsFoundOnCommandLine)
{
UE_LOG(LogLiveLinkOverNDisplay, Log, TEXT("Overriding LiveLinkOverNDisplay enable flag from command line with value '%s'"), *BoolValue);
bIsEnabledFromCommandLine = BoolValue.ToBool();
}
}