unreal.DataprepOperation
¶
- class unreal.DataprepOperation(outer=None, name='None')¶
Bases:
unreal.DataprepParameterizableObject
Base class for all Dataprep operations Dataprep operations act on a set of input obejcts and can modify their properties: f.e. change materials, add metadata etc.
C++ Source:
Plugin: DataprepEditor
Module: DataprepCore
File: DataprepOperation.h
- assets_modified(assets) → None¶
Indicates an array of assets has changed during the operation. It is important to use this function if the modifications on the assets impact their appearance
- get_additional_keyword() → Text¶
Allows to add more keywords for when a user is searching for the fetcher in the ui.
- Returns
- Return type
- get_category() → Text¶
Allows to change the tooltip of the fetcher for the ui if needed.
- Returns
- Return type
- get_display_operation_name() → Text¶
Allows to change the name of the fetcher for the ui if needed.
- Returns
- Return type
- get_tooltip() → Text¶
Allows to change the tooltip of the fetcher for the ui if needed.
- Returns
- Return type
- log_info(log_text) → None¶
Add an info to the log
- Parameters
log_text (Text) – The text to add to the log
- log_warning(log_text) → None¶
Add a warning to the log
- Parameters
log_text (Text) – The text to add to the log
- on_execution(context) → None¶
This function is called when the operation is executed. If your defining your operation in Blueprint or Python this is the function to override.
- Parameters
context (DataprepContext) – The context contains the data that the operation should operate on.