UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
BaseMeshReconstructorModule.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
9
10class IMRMesh;
11
13{
14
15public:
16 //
17 // MODULAR FEATURE SUPPORT
18 //
19
26 {
27 static const FName ModularFeatureName = FName(TEXT("MeshReconstructor"));
28 return ModularFeatureName;
29 }
30
37 {
38 //@todo implement priority for choosing the most appropriate implementation
39
41 check(MeshReconstructors.Num() > 0);
42 return *MeshReconstructors[0];
43 }
44
54
58 virtual void StartupModule() override
59 {
61 }
62
63};
#define check(expr)
Definition AssertionMacros.h:314
#define TEXT(x)
Definition Platform.h:1272
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition BaseMeshReconstructorModule.h:13
static bool IsAvailable()
Definition BaseMeshReconstructorModule.h:50
static FName GetModularFeatureName()
Definition BaseMeshReconstructorModule.h:25
static FBaseMeshReconstructorModule & Get()
Definition BaseMeshReconstructorModule.h:36
virtual void StartupModule() override
Definition BaseMeshReconstructorModule.h:58
Definition NameTypes.h:617
Definition MRMeshComponent.h:29
Definition IModularFeature.h:12
virtual void RegisterModularFeature(const FName Type, class IModularFeature *ModularFeature)=0
static CORE_API IModularFeatures & Get()
Definition ModularFeatures.cpp:9
TArray< TModularFeature * > GetModularFeatureImplementations(const FName Type)
Definition IModularFeatures.h:68
bool IsModularFeatureAvailable(const FName Type)
Definition IModularFeatures.h:39
Definition ModuleInterface.h:14
Definition Array.h:670