unreal.RigUnit_AddToNameHistoryArray

class unreal.RigUnit_AddToNameHistoryArray(execute_context: RigVMExecuteContext = [], new_value: Name = 'None', max_history_num: int = 0, values: None = [])

Bases: RigUnit_DrawDebugLibraryBase

Convenience function that adds a name to the end of an array, popping values from the front once the max is reached

C++ Source:

  • Plugin: DrawDebugLibrary

  • Module: DrawDebugLibrary

  • File: RigUnit_DrawDebugLibrary.h

Editor Properties: (see get_editor_property/set_editor_property)

  • execute_context (RigVMExecuteContext): [Read-Write] The execution result

  • max_history_num (int32): [Read-Write] Maximum number of values

  • new_value (Name): [Read-Write] New value to add

  • values (Array[Name]): [Read-Write] Log Color

property max_history_num: int

[Read-Write] Maximum number of values

Type:

(int32)

property new_value: Name

[Read-Write] New value to add

Type:

(Name)

property values: None

[Read-Write] Log Color

Type:

(Array[Name])