unreal.MetaHumanAssetReport¶
- class unreal.MetaHumanAssetReport(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
ObjectA report generated when an asset is imported or tested for MetaHuman compatibility
C++ Source:
Plugin: MetaHumanSDK
Module: MetaHumanSDKEditor
File: MetaHumanAssetReport.h
- add_error(message) None¶
Adds a user-facing message to appear in the report. This will flag the report as containing warnings and as having failed.
- Parameters:
message (MetaHumanAssetReportItem) – The localized error message
- add_info(message) None¶
Adds a user-facing message to appear in the report. This will not flag the report as containing warnings or as having failed.
- Parameters:
message (MetaHumanAssetReportItem) – The localized informational message
- add_verbose(message) None¶
Adds a user-facing message to appear in the report. This will not flag the report as containing warnings or as having failed and will be discarded if SetVerbose is not called with a value of true
- Parameters:
message (MetaHumanAssetReportItem) – The localized informational message
- add_warning(message) None¶
Adds a user-facing message to appear in the report. This will flag the report as containing warnings but will not flag it as having failed.
- Parameters:
message (MetaHumanAssetReportItem) – The localized warning message
- generate_rich_text_report() Text¶
Generates a representation of the report suitable for use in an SRichText control
- Return type:
- get_report_result() MetaHumanOperationResult¶
Determine whether the report represents a successful operation or not
- Return type:
- set_subject(subject) None¶
Set the subject for the report, typically the name of the asset being tested or imported
- Parameters:
subject (str) – The Name to appear in the title of the report