IGeometryProcessing_ApproximateActors

[IGeometryProcessing_ApproximateActors](API\Developer\GeometryProcessingInterfaces\GeometryProcessingInterfaces\IGeometryProcess-) 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.

Unreal Engine C++ API Reference > Developer > GeometryProcessingInterfaces > GeometryProcessingInterfaces

Inheritance Hierarchy

References

   
Module GeometryProcessingInterfaces
Header /Engine/Source/Developer/GeometryProcessingInterfaces/Public/GeometryProcessingInterfaces/ApproximateActors.h
Include #include "GeometryProcessingInterfaces/ApproximateActors.h"

Syntax

class IGeometryProcessing_ApproximateActors : public [IModularFeature](API\Runtime\Core\Features\IModularFeature)  

Remarks

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("GeometryProcessingInterfaces"); IGeometryProcessing_ApproximateActors* ApproxActorsAPI = GeomProcInterfaces.GetApproximateActorsImplementation();

This will automatically determine which available implementation to use (based on any applicable config settings/etc), and cache the result of that decision.

Variables

Type Name Description
FApproximateAct... CompleteDelegate  

Destructors

Type Name Description
  ~IGeometryProcessing_ApproximateActors ()  

Functions

Type Name Description
void ApproximateActors ( const TArray< AActor* >& Acto..., const FOptions& Options, FResults& ResultsOut ) Top-level driver function that clients call to generate the approximation for a set of input Actors.
FOptions ConstructOptions ( const FMeshApproximationSettings& ... ) Construct an FOptions from the provided FMeshApproximationSettings.
const FName GetModularFeatureName () Modular feature name to register for retrieval during runtime.

Classes

Type Name Description
Public struct FOptions Input options to Actor Approximation process
Public struct FResults Outputs of an Actor Approximation process

Enums

Type Name Description
Public enum EApproximationPolicy  
Public enum EBaseCappingPolicy  
Public enum EGroundPlaneClippingPolicy  
Public enum EGroundPlanePolicy  
Public enum EMeshDataSourceLODPolicy  
Public enum EOcclusionPolicy  
Public enum EResultCode  
Public enum ESimplificationPolicy  
Public enum ETextureSizePolicy  
Public enum EUVGenerationPolicy  

Typedefs

Name Description
FApproximateActorsCompleteDelegate Delegates to pass back info?

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library