unreal.RigUnit_DrawDebugTrajectory

class unreal.RigUnit_DrawDebugTrajectory(execute_context: RigVMExecuteContext = [], drawer: DebugDrawer = [], locations: None = [], directions: None = [], relative_transform: Transform = Ellipsis, line_style: DrawDebugLineStyle = Ellipsis, depth_test: bool = False, draw_arrow_length: float = 0.0, point_radius: float = 0.0, arrow_head_scale: float = 0.0, segments: int = 0, vertical_offset: float = 0.0)

Bases: RigUnit_DrawDebugLibraryBase

Debug Draw a trajectory of locations and directions

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

  • directions (Array[Vector]): [Read-Write] Trajectory Directions

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

  • 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] Trajectory Locations

  • point_radius (float): [Read-Write] Radius of the location spheres to draw

  • relative_transform (Transform): [Read-Write] Relative Transform to apply to the locations and directions

  • segments (int32): [Read-Write] Number of segments in the location spheres

  • vertical_offset (float): [Read-Write] Vertical offset to apply to the trajectory to avoid it clipping with the ground

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 directions: None

[Read-Write] Trajectory Directions

Type:

(Array[Vector])

property draw_arrow_length: float

[Read-Write] Length of the arrow to draw for directions

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] Trajectory Locations

Type:

(Array[Vector])

property point_radius: float

[Read-Write] Radius of the location spheres to draw

Type:

(float)

property relative_transform: Transform

[Read-Write] Relative Transform to apply to the locations and directions

Type:

(Transform)

property segments: int

[Read-Write] Number of segments in the location spheres

Type:

(int32)

property vertical_offset: float

[Read-Write] Vertical offset to apply to the trajectory to avoid it clipping with the ground

Type:

(float)