unreal.RigUnit_DrawDebugPose

class unreal.RigUnit_DrawDebugPose(execute_context: RigVMExecuteContext = [], drawer: DebugDrawer = [], bone_locations: None = [], bone_linear_velocities: None = [], relative_transform: Transform = Ellipsis, line_style: DrawDebugLineStyle = Ellipsis, depth_test: bool = False, draw_velocity_line_scale: float = 0.0)

Bases: RigUnit_DrawDebugLibraryBase

Debug Draw a pose made up of bone locations and velocities

C++ Source:

  • Plugin: DrawDebugLibrary

  • Module: DrawDebugLibrary

  • File: RigUnit_DrawDebugLibrary.h

Editor Properties: (see get_editor_property/set_editor_property)

  • bone_linear_velocities (Array[Vector]): [Read-Write] Draw Linear Velocities

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

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

  • draw_velocity_line_scale (float): [Read-Write] Scale for drawing velocities

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

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

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

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

property bone_linear_velocities: None

[Read-Write] Draw Linear Velocities

Type:

(Array[Vector])

property bone_locations: None

[Read-Write] Draw Locations

Type:

(Array[Vector])

property depth_test: bool

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

Type:

(bool)

property draw_velocity_line_scale: float

[Read-Write] Scale for drawing velocities

Type:

(float)

property drawer: DebugDrawer

[Read-Write] Debug Drawer

Type:

(DebugDrawer)

property line_style: DrawDebugLineStyle

[Read-Write] Line Style

Type:

(DrawDebugLineStyle)

property relative_transform: Transform

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

Type:

(Transform)