FDataprepCoreUtils::RemoveSteps

Helper function to remove a step from an action.

Windows
MacOS
Linux

References

Module

DataprepCore

Header

/Engine/Plugins/Enterprise/DataprepEditor/Source/DataprepCore/Public/DataprepCoreUtils.h

Include

#include "DataprepCoreUtils.h"

Source

/Engine/Plugins/Enterprise/DataprepEditor/Source/DataprepCore/Private/DataprepCoreUtils.cpp

Syntax

static bool RemoveSteps
(
    UDataprepActionAsset * ActionAsset,
    const TArray< int32 > & Indices,
    int32 & ActionIndex,
    bool bDiscardParametrization
)

Remarks

Helper function to remove a step from an action. This function will remove the action from the Dataprep asset owning it if this is the last step.

Returns

Returns true if the removal was successful, false otherwise

Parameters

Parameter

Description

ActionAsset

Action asset to perform the operation on

Indices

Array of step's indices to remove.

ActionIndex

Set to INDEX_NONE if the action was not removed from its owning Dataprep asset. Valid index otherwise.

bDiscardParametrization

If true, discrad parameterization associated with the action steps

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