unreal.RigUnit_DrawDebugDirection

class unreal.RigUnit_DrawDebugDirection(execute_context: RigVMExecuteContext = [], drawer: DebugDrawer = [], location: Vector = Ellipsis, direction: Vector = Ellipsis, line_style: DrawDebugLineStyle = Ellipsis, depth_test: bool = False, draw_arrow_length: float = 0.0, arrow_head_scale: float = 0.0)

Bases: RigUnit_DrawDebugLibraryBase

Debug Draw an arrow at the given location facing in the given direction

C++ Source:

  • Plugin: DrawDebugLibrary

  • Module: DrawDebugLibrary

  • File: RigUnit_DrawDebugLibrary.h

Editor Properties: (see get_editor_property/set_editor_property)

  • arrow_head_scale (float): [Read-Write] Scale of the arrow head to draw

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

  • direction (Vector): [Read-Write] Direction to Draw

  • draw_arrow_length (float): [Read-Write] Length of the arrow to draw

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

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

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

  • location (Vector): [Read-Write] Draw Location

property arrow_head_scale: float

[Read-Write] Scale of the arrow head to draw

Type:

(float)

property depth_test: bool

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

Type:

(bool)

property direction: Vector

[Read-Write] Direction to Draw

Type:

(Vector)

property draw_arrow_length: float

[Read-Write] Length of the arrow to draw

Type:

(float)

property drawer: DebugDrawer

[Read-Write] Debug Drawer

Type:

(DebugDrawer)

property line_style: DrawDebugLineStyle

[Read-Write] Line Style

Type:

(DrawDebugLineStyle)

property location: Vector

[Read-Write] Draw Location

Type:

(Vector)