unreal.RigUnit_DrawDebugGraphLegend

class unreal.RigUnit_DrawDebugGraphLegend(execute_context: RigVMExecuteContext = [], drawer: DebugDrawer = [], location: Vector = Ellipsis, rotation: Rotator = Ellipsis, legend_colors: None = [], legend_labels: None = [], xaxis_length: float = 0.0, yaxis_length: float = 0.0, text_line_style: DrawDebugLineStyle = Ellipsis, icon_line_style: DrawDebugLineStyle = Ellipsis, icon_size: float = 0.0, depth_test: bool = False, legend_settings: DrawDebugStringSettings = Ellipsis)

Bases: RigUnit_DrawDebugLibraryBase

Debug Draw a simple graph legend.

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

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

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

  • icon_line_style (DrawDebugLineStyle): [Read-Write] Icon line style

  • icon_size (float): [Read-Write] Icon Size

  • legend_colors (Array[LinearColor]): [Read-Write] Legend Colors

  • legend_labels (Array[str]): [Read-Write] Legend Labels

  • legend_settings (DrawDebugStringSettings): [Read-Write] Legend string settings

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

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

  • text_line_style (DrawDebugLineStyle): [Read-Write] Text line style

  • xaxis_length (float): [Read-Write] X axis length

  • yaxis_length (float): [Read-Write] Y axis length

property depth_test: bool

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

Type:

(bool)

property drawer: DebugDrawer

[Read-Write] Debug Drawer

Type:

(DebugDrawer)

property icon_line_style: DrawDebugLineStyle

[Read-Write] Icon line style

Type:

(DrawDebugLineStyle)

property icon_size: float

[Read-Write] Icon Size

Type:

(float)

property legend_colors: None

[Read-Write] Legend Colors

Type:

(Array[LinearColor])

property legend_labels: None

[Read-Write] Legend Labels

Type:

(Array[str])

property legend_settings: DrawDebugStringSettings

[Read-Write] Legend string settings

Type:

(DrawDebugStringSettings)

property location: Vector

[Read-Write] Draw Location

Type:

(Vector)

property rotation: Rotator

[Read-Write] Draw Rotation

Type:

(Rotator)

property text_line_style: DrawDebugLineStyle

[Read-Write] Text line style

Type:

(DrawDebugLineStyle)

property xaxis_length: float

[Read-Write] X axis length

Type:

(float)

property yaxis_length: float

[Read-Write] Y axis length

Type:

(float)