Navigation
Unreal Engine C++ API Reference > Plugins > ModelingOperators
Inheritance Hierarchy
- FNonAbandonableTask
- FAbortableBackgroundTask
- TModelingOpTask
References
Module | ModelingOperators |
Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingOperators/Public/BackgroundModelingComputeSource.h |
Include | #include "BackgroundModelingComputeSource.h" |
Syntax
template<typename OpType>
class TModelingOpTask : public UE::Geometry::FAbortableBackgroundTask
Remarks
TModelingOpTask is an FAbortableBackgroundTask that executes a modeling operator of template type OpType. OpType must implement a function with signature void CalculateResult(FProgressCancel*)
After work completes, ExtractOperator() can be used to recover the internal OpType instance, to get access to the completed work.
See TBackgroundModelingComputeSource for example usage (however this class can be used by itself)
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TUniquePtr< OpType > | Operator |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
TModelingOpTask
(
TUniquePtr< OpType > OperatorIn |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | DoWork () |
FAbortableBackgroundTask API. |
![]() |
TUniquePtr< OpType > | ||
![]() ![]() |
TStatId | GetStatId () |
FAsyncTask framework required function. |