unreal.RigUnit_DrawDebugLines

class unreal.RigUnit_DrawDebugLines(execute_context: RigVMExecuteContext = [], drawer: DebugDrawer = [], start_locations: None = [], end_locations: None = [], line_style: DrawDebugLineStyle = Ellipsis, depth_test: bool = False)

Bases: RigUnit_DrawDebugLibraryBase

Debug Draws lines. These should be preferred over DrawDebugLine where possible as it will batch drawing when required such as when using the visual logger.

C++ Source:

  • Plugin: DrawDebugLibrary

  • Module: DrawDebugLibrary

  • File: RigUnit_DrawDebugLibrary.h

Editor Properties: (see get_editor_property/set_editor_property)

  • depth_test (bool): [Read-Write] If to use depth testing while drawing

  • drawer (DebugDrawer): [Read-Write] Debug Drawer

  • end_locations (Array[Vector]): [Read-Write] Line End Locations

  • execute_context (RigVMExecuteContext): [Read-Write] The execution result

  • line_style (DrawDebugLineStyle): [Read-Write] Line Style

  • start_locations (Array[Vector]): [Read-Write] Line Start Locations

property depth_test: bool

[Read-Write] If to use depth testing while drawing

Type:

(bool)

property drawer: DebugDrawer

[Read-Write] Debug Drawer

Type:

(DebugDrawer)

property end_locations: None

[Read-Write] Line End Locations

Type:

(Array[Vector])

property line_style: DrawDebugLineStyle

[Read-Write] Line Style

Type:

(DrawDebugLineStyle)

property start_locations: None

[Read-Write] Line Start Locations

Type:

(Array[Vector])