TGenericDataOperator

[TGenericDataOperator](API\Plugins\ModelingOperators\TGenericDataOperator) is a base interface for operator implementations that can produce an object of arbitrary data type.

Windows
MacOS
Linux

Inheritance Hierarchy

TGenericDataOperator

FCalculateTangentsOp

References

Module

ModelingOperators

Header

/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingOperators/Public/ModelingOperators.h

Include

#include "ModelingOperators.h"

Syntax

template<typename ResultType>
class TGenericDataOperator

Remarks

TGenericDataOperator is a base interface for operator implementations that can produce an object of arbitrary data type. Ownership is unique, ie the Operator calculates the result and then the caller takes it via ExtractResult()

Variables

Name Description

Protected variable

TUniquePtr< Res...

 

Result

Constructors

Name Description

Public function

TGenericDataOperator

(
    bool bCreateInitialObject
)

Destructors

Name Description

Public function Virtual

~TGenericDataOperator()

Functions

Name Description

Public function

void

 

CalculateResult

(
    FProgressCancel* Progress
)

Calculate the result of the operator. This must populate the internal Result data

Public function

TUniquePtr< ...

 

ExtractResult()

Public function

void

 

SetResult

(
    TUniquePtr< ResultType >&& ResultI...
)

Set the result of the Operator (generally called by CalculateResult() implementation)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss