unreal.ScriptableToolPoint

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

Bases: Object

Scriptable Tool Point

C++ Source:

  • Plugin: ScriptableToolsFramework

  • Module: ScriptableToolsFramework

  • File: ScriptableToolPoint.h

set_point_color(color) None

Set the point’s color

Parameters:

color (Color) – The color the point should be rendered as

set_point_depth_bias(depth_bias) None

Set the point’s depth bias. The depth bias controls small micro adjustments in effective displacement towards or away from the camera, to prevent the point from causing clipping or z-fighting with other objects in the scene it’s overlaid directly on top of.

Parameters:

depth_bias (float) – The depth bias adjustment for the point

set_point_position(position) None

Set the position of the point

Parameters:

position (Vector) – The position in space of the point

set_point_size(thickness) None

Set the point’s size

Parameters:

thickness (float)