Navigation
API > API/Developer > API/Developer/GeometryProcessingInterfaces
IGeometryProcessing_ApproximateActors is a generic high-level interface to a function/system that outputs a set of new Mesh assets that approximate a set of input Actors. This can be used to provide LOD-generation implementations for systems like ProxyLOD and HLOD.
This is an IModularFeature, and so clients can query/enumerate the available ApproximateActors implementations based on the GetModularFeatureName(). However, the preferred way is to use code like the following: IGeometryProcessingInterfacesModule& GeomProcInterfaces = FModuleManager::Get().LoadModuleChecked
This will automatically determine which available implementation to use (based on any applicable config settings/etc), and cache the result of that decision.
| Name | IGeometryProcessing_ApproximateActors |
| Type | class |
| Header File | /Engine/Source/Developer/GeometryProcessingInterfaces/Public/GeometryProcessingInterfaces/ApproximateActors.h |
| Include Path | #include "GeometryProcessingInterfaces/ApproximateActors.h" |
Syntax
class IGeometryProcessing_ApproximateActors : public IModularFeature
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IGeometryProcessing_ApproximateActors() |
GeometryProcessingInterfaces/ApproximateActors.h |
Structs
| Name | Remarks |
|---|---|
| FInput | Input to approximate, as actors and/or components |
| FOptions | Input options to Actor Approximation process |
| FResults | Outputs of an Actor Approximation process |
Enums
Public
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FApproximateActorsCompleteDelegate | TBaseDelegate_OneParam< void, FResults & > | Delegates to pass back info? | GeometryProcessingInterfaces/ApproximateActors.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CompleteDelegate | FApproximateActorsCompleteDelegate | GeometryProcessingInterfaces/ApproximateActors.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Top-level driver function that clients call to generate the approximation for a set of input Actors or Components. | GeometryProcessingInterfaces/ApproximateActors.h | ||
virtual FOptions ConstructOptions
(
const FMeshApproximationSettings& MeshApproximationSettings |
Construct an FOptions from the provided FMeshApproximationSettings. | GeometryProcessingInterfaces/ApproximateActors.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static const FName GetModularFeatureName() |
Modular feature name to register for retrieval during runtime. | GeometryProcessingInterfaces/ApproximateActors.h |