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)

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback