unreal.RigUnit_DrawDebugVelocities

class unreal.RigUnit_DrawDebugVelocities(execute_context: RigVMExecuteContext = [], drawer: DebugDrawer = [], locations: None = [], velocities: None = [], line_style: DrawDebugLineStyle = Ellipsis, depth_test: bool = False, draw_velocity_line_scale: float = 0.0)

Bases: RigUnit_DrawDebugLibraryBase

Debug Draw lines at the given locations scaled by the given velocities

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

  • locations (Array[Vector]): [Read-Write] Draw Locations

  • velocities (Array[Vector]): [Read-Write] Velocities 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 locations: None

[Read-Write] Draw Locations

Type:

(Array[Vector])

property velocities: None

[Read-Write] Velocities to draw

Type:

(Array[Vector])