You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Add GeometryProcessingAdapters module to MeshModelingToolset, this is an Editor-only module that implements GeometryProcessingInterfaces APIs Add ApproximateActors implementation in GeometryProcessingAdapters that uses GeometryProcessing (FastWindingNumber / MeshMorphology / Simplify / UVGen / Tangents) and a new material-baking process based on render captures to generate a new StaticMesh Asset / Material / Textures that approximate the input Actor set. #rb none #rnx #jira none #preflight 608b25ced4026b0001cbe9c4 [CL 16162961 by Ryan Schmidt in ue5-main branch]
32 lines
825 B
C++
32 lines
825 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "IGeometryProcessingInterfacesModule.h"
|
|
|
|
|
|
class IGeometryProcessing_ApproximateActors;
|
|
|
|
|
|
/**
|
|
* Implementation of IGeometryProcessingInterfacesModule (which extends the standard IModuleInterface)
|
|
* to provide access to various "Operation" interfaces
|
|
*/
|
|
class FGeometryProcessingInterfacesModule : public IGeometryProcessingInterfacesModule
|
|
{
|
|
public:
|
|
|
|
virtual void StartupModule() override;
|
|
virtual void ShutdownModule() override;
|
|
|
|
|
|
/**
|
|
* @return implementation of IGeometryProcessing_ApproximateActors, if available, or nullptr (result is cached internally)
|
|
*/
|
|
virtual IGeometryProcessing_ApproximateActors* GetApproximateActorsImplementation() override;
|
|
|
|
|
|
private:
|
|
IGeometryProcessing_ApproximateActors* ApproximateActors = nullptr;
|
|
};
|