unreal.RigUnit_DrawDebugVelocity

class unreal.RigUnit_DrawDebugVelocity(execute_context: RigVMExecuteContext = [], drawer: DebugDrawer = [], location: Vector = Ellipsis, velocity: Vector = Ellipsis, line_style: DrawDebugLineStyle = Ellipsis, depth_test: bool = False, draw_velocity_line_scale: float = 0.0)

Bases: RigUnit_DrawDebugLibraryBase

Debug Draw a line at the given location scaled by the given velocity

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

  • draw_velocity_line_scale (float): [Read-Write] Scale of the line 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

  • velocity (Vector): [Read-Write] Velocity to draw

property depth_test: bool

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

Type:

(bool)

property draw_velocity_line_scale: float

[Read-Write] Scale of the line 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)

property velocity: Vector

[Read-Write] Velocity to draw

Type:

(Vector)