unreal.ScriptableToolPointSet

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

Bases: Object

Scriptable Tool Point Set

C++ Source:

  • Plugin: ScriptableToolsFramework

  • Module: ScriptableToolsFramework

  • File: ScriptableToolPointSet.h

add_point() ScriptableToolPoint

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

Returns:

The new point object added to the set.

Return type:

ScriptableToolPoint

remove_all_points() None

Remove all current points in the set.

remove_point(point) None

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

Parameters:

point (ScriptableToolPoint) – A reference to a point to be removed from the set.

set_all_points_color(color) None

Set the color of all points in the set simultaneously.

Parameters:

color (Color)

set_all_points_size(size) None

Set the size of all points in the set simultaneously.

Parameters:

size (float)