unreal.DataTableFunctionLibrary
¶
-
class
unreal.
DataTableFunctionLibrary
(outer=None, name='None')¶ Bases:
unreal.BlueprintFunctionLibrary
Data Table Function Library
C++ Source:
Module: Engine
File: DataTableFunctionLibrary.h
-
classmethod
does_data_table_row_exist
(table, row_name) → bool¶ Returns whether or not Table contains a row named RowName
-
classmethod
evaluate_curve_table_row
(curve_table, row_name, xy, context_string) -> (out_result=EvaluateCurveTableResult, out_xy=float)¶ Evaluate Curve Table Row
- Parameters
curve_table (CurveTable) –
row_name (Name) –
xy (float) –
context_string (str) –
- Returns
out_result (EvaluateCurveTableResult):
out_xy (float):
- Return type
tuple
-
classmethod
fill_data_table_from_csv_file
(data_table, csv_file_path) → bool¶ Empty and fill a Data Table from CSV file.
-
classmethod
fill_data_table_from_csv_string
(data_table, csv_string) → bool¶ Empty and fill a Data Table from CSV string.
-
classmethod
fill_data_table_from_json_file
(data_table, json_file_path, import_row_struct=None) → bool¶ Empty and fill a Data Table from JSON file.
- Parameters
data_table (DataTable) –
json_file_path (str) – The file path of the JSON file.
import_row_struct (ScriptStruct) –
- Returns
True if the operation succeeds, check the log for errors if it didn’t succeed.
- Return type
-
classmethod
fill_data_table_from_json_string
(data_table, json_string) → bool¶ Empty and fill a Data Table from JSON string.
-
classmethod
get_data_table_column_as_string
(data_table, property_name)¶ Export from the DataTable all the row for one column. Export it as string. The row name is not included.