unreal.ScriptableToolLineSet

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

Bases: Object

Scriptable Tool Line Set

C++ Source:

  • Plugin: ScriptableToolsFramework

  • Module: ScriptableToolsFramework

  • File: ScriptableToolLineSet.h

add_line() ScriptableToolLine

Create and return a new line object. Users should save a reference to this object for future updates or removal from the set.

Returns:

The new line object added to the set.

Return type:

ScriptableToolLine

remove_all_lines() None

Remove all current lines in the set.

remove_line(line) None

Remove a specific line object from the set, removing it fromt the scene.

Parameters:

line (ScriptableToolLine) – A reference to a line to be removed from the set.

set_all_lines_color(color) None

Set the color of all lines in the set simultaneously.

Parameters:

color (Color)

set_all_lines_thickness(thickness) None

Set the thickness of all lines in the set simultaneously.

Parameters:

thickness (float)