Files
UnrealEngineUWP/Engine/Source/Runtime/Experimental/GeometryCollectionEngine/GeometryCollectionEngine.Build.cs
Jimmy Andrews 4acfad1f33 add options on geometry collection creation
- make material duplication for internal materials optional
 - ask if user wants to split the mesh by connected component

+ implement the connected component split on the mesh description as part of the conversion, so we can do it before we've thrown out the mesh topology (geometry collection is a rendering rep that can't represent mesh topology; it splits at every UV seam and sharp edge)

#preflight 62fe8062f7404b55a3010ac6

[CL 21448521 by Jimmy Andrews in ue5-main branch]
2022-08-18 15:37:22 -04:00

56 lines
1.3 KiB
C#

// Copyright Epic Games, Inc. All Rights Reserved.
namespace UnrealBuildTool.Rules
{
public class GeometryCollectionEngine : ModuleRules
{
public GeometryCollectionEngine(ReadOnlyTargetRules Target) : base(Target)
{
PrivateIncludePaths.Add("Runtime/Experimental/GeometryCollectionEngine/Private");
PublicIncludePaths.Add(ModuleDirectory + "/Public");
SetupModulePhysicsSupport(Target);
PublicDependencyModuleNames.AddRange(
new string[]
{
"Core",
"CoreUObject",
"Engine",
"RenderCore",
"RHI",
"Renderer",
"FieldSystemEngine",
"ChaosSolverEngine",
"NetCore",
"IntelISPC",
"DataflowCore",
"DataflowEngine",
"MeshDescription",
"StaticMeshDescription",
}
);
PrivateDependencyModuleNames.AddRange(
new string[]
{
"MeshConversion",
"GeometryCore",
}
);
PrivateIncludePathModuleNames.Add("DerivedDataCache");
if (Target.bBuildEditor)
{
DynamicallyLoadedModuleNames.Add("NaniteBuilder");
PrivateIncludePathModuleNames.Add("NaniteBuilder");
PublicDependencyModuleNames.Add("EditorFramework");
PublicDependencyModuleNames.Add("UnrealEd");
}
PrivateDefinitions.Add("CHAOS_INCLUDE_LEVEL_1=1");
}
}
}