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_DrawDebugLibraryBaseDebug 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 drawdepth_test(bool): [Read-Write] If to use depth testing while drawingdirections(Array[Vector]): [Read-Write] Trajectory Directionsdraw_arrow_length(float): [Read-Write] Length of the arrow to draw for directionsdrawer(DebugDrawer): [Read-Write] Debug Drawerexecute_context(RigVMExecuteContext): [Read-Write] The execution resultline_style(DrawDebugLineStyle): [Read-Write] Line Stylelocations(Array[Vector]): [Read-Write] Trajectory Locationspoint_radius(float): [Read-Write] Radius of the location spheres to drawrelative_transform(Transform): [Read-Write] Relative Transform to apply to the locations and directionssegments(int32): [Read-Write] Number of segments in the location spheresvertical_offset(float): [Read-Write] Vertical offset to apply to the trajectory to avoid it clipping with the ground
- 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:
- property line_style: DrawDebugLineStyle¶
[Read-Write] Line Style
- Type: