unreal.RigUnit_AddToVectorHistoryArray

class unreal.RigUnit_AddToVectorHistoryArray(execute_context: RigVMExecuteContext = [], new_value: Vector = Ellipsis, max_history_num: int = 0, values: None = [])

Bases: RigUnit_DrawDebugLibraryBase

Convenience function that adds a vector 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 (Vector): [Read-Write] New value to add

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

property max_history_num: int

[Read-Write] Maximum number of values

Type:

(int32)

property new_value: Vector

[Read-Write] New value to add

Type:

(Vector)

property values: None

[Read-Write] Log Color

Type:

(Array[Vector])