unreal.PCapDataTable

class unreal.PCapDataTable(outer: Object | None = None, name: Name | str = 'None')

Bases: DataTable

PCap Data Table

C++ Source:

  • Plugin: PerformanceCaptureWorkflow

  • Module: PerformanceCaptureWorkflow

  • File: PCapDataTable.h

Editor Properties: (see get_editor_property/set_editor_property)

  • asset_import_data (AssetImportData): [Read-Only] The file this data table was imported from, may be empty

  • ignore_extra_fields (bool): [Read-Write] Set to true to ignore extra fields in the import data, if false it will warn about them

  • ignore_missing_fields (bool): [Read-Write] Set to true to ignore any fields that are expected but missing, if false it will warn about them

  • import_key_field (str): [Read-Write] Explicit field in import data to use as key. If this is empty it uses Name for JSON and the first field found for CSV

  • on_datatable_modified (OnDatatableModified): [Read-Write]

  • preserve_existing_values (bool): [Read-Write] Set to true to preserve existing values for any fields that are expected but missing in the CSV file. If false, missing fields will be populated with default values.

  • row_struct (ScriptStruct): [Read-Only] Structure to use for each row of the table, must inherit from FTableRowBase

  • strip_from_client_builds (bool): [Read-Write] Set to true to not cook this data table into client builds. Useful for sensitive tables that only servers should know about.

add_table_row(new_row) bool

Add a given new row to the datatable.

Parameters:

new_row (Name) – The unique name for the new row.

Returns:

bool Whether operation was successful.

Return type:

bool

duplicate_table_row(source_row, new_row) bool

Duplicate a given new row to the datatable.

Parameters:
  • source_row (Name) – The row to duplicate.

  • new_row (Name) – The unique name for the new row.

Returns:

bool Whether duplication was successful.

Return type:

bool

insert_table_row(selected_row, new_row, above) bool

Insert a given new row in to the datatable, above or below the selected row.

Parameters:
  • selected_row (Name) – The row to insert at.

  • new_row (Name) – The unique name for the new row.

  • above (bool) – Insert Above or Below the SelectedRow.

Returns:

bool Whether inserting new row was successful.

Return type:

bool

property on_datatable_modified: OnDatatableModified

[Read-Write]

Type:

(OnDatatableModified)

remove_table_row(row_name) bool

Remove a given row from the datatable.

Parameters:

row_name (Name) – The row name to remove.

Returns:

bool Whether operation was successful.

Return type:

bool