You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
- Expanded FDeprecateSlateVector2D to provide structs for parameters, return types and member variables that use FVector2f, while still allowing conversion to/from FVector2d with optional per-module deprecation mechanisms. - Many of the high-traffic SlateCore types like FSlateBrush, FGeometry and FSlateLayoutTransform have been converted to use these deprecation mechanisms. - Some legacy FGeometry::ToPaintGeometry and MakeChild overloads have been explicitly deprecated since they cause ambiguous overloads with FSlateLayoutTransform if it were to support implicit construction. - Deprecated ULocalPlayer::GetPixelBoundingBox and GetPixelPoint to prefer FVector2f for OptionalAllotedSize parameter since this parameter is expected to come from FGeometry - Exposed FVector2f members to blueprints #jira none #rb Andy.Davidson, Dave.Jones, Vincent.Gauthier, Patrick.Boutot #preflight 63bc6fd068068a8bd6027c9f [CL 23631073 by Andrew Rodham in ue5-main branch]
53 lines
1.1 KiB
C#
53 lines
1.1 KiB
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
using UnrealBuildTool;
|
|
|
|
public class SlateCore : ModuleRules
|
|
{
|
|
public SlateCore(ReadOnlyTargetRules Target) : base(Target)
|
|
{
|
|
PrivateDefinitions.Add("UE_REPORT_SLATE_VECTOR_DEPRECATION=1");
|
|
|
|
PublicDependencyModuleNames.AddRange(
|
|
new string[] {
|
|
"Core",
|
|
"CoreUObject",
|
|
"InputCore",
|
|
"ApplicationCore",
|
|
"Json",
|
|
"TraceLog",
|
|
});
|
|
|
|
if (Target.Type != TargetType.Server)
|
|
{
|
|
if (Target.bCompileFreeType)
|
|
{
|
|
AddEngineThirdPartyPrivateStaticDependencies(Target, "FreeType2");
|
|
PublicDefinitions.Add("WITH_FREETYPE=1");
|
|
}
|
|
else
|
|
{
|
|
PublicDefinitions.Add("WITH_FREETYPE=0");
|
|
}
|
|
|
|
if (Target.bCompileICU)
|
|
{
|
|
AddEngineThirdPartyPrivateStaticDependencies(Target, "ICU");
|
|
}
|
|
|
|
AddEngineThirdPartyPrivateStaticDependencies(Target, "HarfBuzz");
|
|
AddEngineThirdPartyPrivateStaticDependencies(Target, "Nanosvg");
|
|
}
|
|
else
|
|
{
|
|
PublicDefinitions.Add("WITH_FREETYPE=0");
|
|
PublicDefinitions.Add("WITH_HARFBUZZ=0");
|
|
}
|
|
|
|
if (Target.Platform == UnrealTargetPlatform.Win64)
|
|
{
|
|
AddEngineThirdPartyPrivateStaticDependencies(Target, "XInput");
|
|
}
|
|
}
|
|
}
|