unreal.ScriptableTool_RenderAPI

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

Bases: Object

UScriptableTool_RenderAPI is helper Object that is created internally by a UScriptableInteractiveTool to allow Blueprints to access basic 3D rendering functionality, in the context of a specific Tool. The OnScriptRender event is called with an instance of this type.

C++ Source:

  • Plugin: ScriptableToolsFramework

  • Module: ScriptableToolsFramework

  • File: ScriptableInteractiveTool.h

draw_line(start, end, color, thickness=1.000000, depth_bias=0.000000, depth_tested=True) ScriptableTool_RenderAPI

Draw Line

Parameters:
Return type:

ScriptableTool_RenderAPI

draw_rect_width_height_xy(transform, width, height, color, line_thickness=1.000000, depth_bias=0.000000, depth_tested=True, centered=True) ScriptableTool_RenderAPI

Draw Rect Width Height XY

Parameters:
Return type:

ScriptableTool_RenderAPI