unreal.ScriptableToolLine¶
- class unreal.ScriptableToolLine(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
ObjectScriptable Tool Line
C++ Source:
Plugin: ScriptableToolsFramework
Module: ScriptableToolsFramework
File: ScriptableToolLine.h
- set_line_color(color) None¶
Set the line’s color
- Parameters:
color (Color) – The color the line should be rendered as
- set_line_depth_bias(depth_bias) None¶
Set the line’s depth bias. The depth bias controls small micro adjustments in effective displacement towards or away from the camera, to prevent the line 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 line
- set_line_end(end) None¶
Set the ending position of the line
- Parameters:
end (Vector) – The position in space of the end of the line