unreal.RigUnit_DrawDebugBone

class unreal.RigUnit_DrawDebugBone(execute_context: RigVMExecuteContext = [], drawer: DebugDrawer = [], location: Vector = Ellipsis, rotation: Rotator = Ellipsis, color: LinearColor = Ellipsis, depth_test: bool = False, radius: float = 0.0, segments: int = 0, draw_transform: bool = False)

Bases: RigUnit_DrawDebugLibraryBase

Debug Draw a bone

C++ Source:

  • Plugin: DrawDebugLibrary

  • Module: DrawDebugLibrary

  • File: RigUnit_DrawDebugLibrary.h

Editor Properties: (see get_editor_property/set_editor_property)

  • color (LinearColor): [Read-Write] Draw Color

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

  • draw_transform (bool): [Read-Write] If to draw the bone transform

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

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

  • location (Vector): [Read-Write] Draw Location

  • radius (float): [Read-Write] Bone Radius

  • rotation (Rotator): [Read-Write] Draw Rotation

  • segments (int32): [Read-Write] Number of segments

property color: LinearColor

[Read-Write] Draw Color

Type:

(LinearColor)

property depth_test: bool

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

Type:

(bool)

property draw_transform: bool

[Read-Write] If to draw the bone transform

Type:

(bool)

property drawer: DebugDrawer

[Read-Write] Debug Drawer

Type:

(DebugDrawer)

property location: Vector

[Read-Write] Draw Location

Type:

(Vector)

property radius: float

[Read-Write] Bone Radius

Type:

(float)

property rotation: Rotator

[Read-Write] Draw Rotation

Type:

(Rotator)

property segments: int

[Read-Write] Number of segments

Type:

(int32)